Skip to content

Commit

Permalink
fix: default filter in details page
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Sep 4, 2024
1 parent e810585 commit 8abeb1b
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 170 deletions.
3 changes: 1 addition & 2 deletions src/web/entities/filterprovider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/


import React from 'react';

import Loading from 'web/components/loading/loading';
Expand All @@ -18,7 +17,7 @@ const FilterProvider = ({
pageName = gmpname,
locationQuery = {},
}) => {
const [returnedFilter, isLoadingFilter] = usePageFilter(pageName, {
const [returnedFilter, isLoadingFilter] = usePageFilter(pageName, gmpname, {
fallbackFilter,
locationQueryFilterString: locationQuery?.filter,
});
Expand Down
Loading

0 comments on commit 8abeb1b

Please # to comment.