rero / ng-core

Angular library for Invenio
4 stars 12 forks source link

results: allow default aggregation using the search input #541

Closed zannkukai closed 1 year ago

zannkukai commented 1 year ago

Allow to define default aggregations to always add when user use the result page serach input form.

Co-Authored-by: Renaud Michotte renaud.michotte@gmail.com

jma commented 1 year ago

I do not understand the idea as a default filter is a filter applied when the search results are displayed and thus can be given as URL parameters.

zannkukai commented 1 year ago

I do not understand the idea as a default filter is a filter applied when the search results are displayed and thus can be given as URL parameters.

The idea is that defaultSearchInput agg filters will be applied for every search using the resource search box (place above facets). At this time, a search in this box, will remove all existing filters and run a search only with "q=search_input_value" as query string