Skip to content

Commit

Permalink
fix(facetedsearch): reset search limit according to search view
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Jan 23, 2025
1 parent 3108a6b commit 1584fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/search/FacetedSearch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
e.preventDefault();
$searchQuery = '';
$searchPage = 1;
$searchLimit = config.search.limit;
$searchLimit = $searchView === 'map' ? config.search.maxLimit : config.search.limit;
selectedDateRange = initDateRange();
selectedFilters = initFilters();
Expand Down

0 comments on commit 1584fc0

Please sign in to comment.