Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def load_catalog():
|
|
48 |
|
49 |
# Function to filter the catalog based on multiple attributes with AND logic
|
50 |
@st.cache_data
|
51 |
-
def filter_catalog(catalog, search_query=None, selected_category=None, cyber_approved=None, accessibility_approved=None, privacy_approved=None):
|
52 |
filtered = catalog
|
53 |
if search_query:
|
54 |
filtered = filtered[filtered.apply(lambda row: search_query.lower() in str(row).lower(), axis=1)]
|
|
|
48 |
|
49 |
# Function to filter the catalog based on multiple attributes with AND logic
|
50 |
@st.cache_data
|
51 |
+
def filter_catalog(catalog, search_query=None, selected_category=None, cyber_approved=None, accessibility_approved=None, privacy_approved=None,review_status=None):
|
52 |
filtered = catalog
|
53 |
if search_query:
|
54 |
filtered = filtered[filtered.apply(lambda row: search_query.lower() in str(row).lower(), axis=1)]
|