diff --git a/src/invidious/views/components/search-filters/filter-column.ecr b/src/invidious/views/components/search-filters/filter-column.ecr new file mode 100644 index 00000000..71a5015b --- /dev/null +++ b/src/invidious/views/components/search-filters/filter-column.ecr @@ -0,0 +1,36 @@ +<% + # Almost all of the filter columns are basically the same so we'll define it here as a component. + # Uses five values + # - filter_params: The URL params containing only the search filters. + # - base_url: The path to the /search endpoint of Invidious with the current search query passed inn + # - operators: containing all of the search filters currently applied + # - filters: the array of filters within the column we're creating + # - filter_name: name of the filter + # - selected_default: default selected filter +-%> + +