Skip to content

Commit

Permalink
Changed: the default value of the Images only to off
Browse files Browse the repository at this point in the history
  • Loading branch information
cihanandac committed May 6, 2024
1 parent c153b1f commit b42e792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/blocks/Search/TopFiltersLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const TopSideFacets = (props) => {
!location.hash.includes('#query')
) {
// Construct the new URL
const newURL = `${location.pathname}${location.search}#query=%5B%7B"i"%3A"portal_type"%2C"o"%3A"paqo.selection.any"%2C"v"%3A%5B"artwork"%5D%7D%2C%7B"i"%3A"objectOnDisplay"%2C"o"%3A"paqo.boolean.isTrue"%2C"v"%3A""%7D%2C%7B"i"%3A"hasImage"%2C"o"%3A"paqo.boolean.isTrue"%2C"v"%3A""%7D%5D&sort_order=ascending`;
const newURL = `${location.pathname}${location.search}#query=%5B%7B"i"%3A"portal_type"%2C"o"%3A"paqo.selection.any"%2C"v"%3A%5B"artwork"%5D%7D%2C%7B"i"%3A"objectOnDisplay"%2C"o"%3A"paqo.boolean.isTrue"%2C"v"%3A""%7D%5D&sort_on=sortable_title&sort_order=ascending`;

history.replace(newURL); // Update the URL

Expand Down

0 comments on commit b42e792

Please sign in to comment.