gsoules / AvantSearch

Omeka Classic plugin that provides extended search results capabilities for the public interface.
GNU General Public License v3.0
6 stars 5 forks source link

Avant search breaks browse items in collection #2

Open mebrett opened 5 years ago

mebrett commented 5 years ago

When Avant Search is installed, the link from a Collection page to "see all items in this collection" redirects to a blank search.

Issue created from this post and this post in the Omeka Forum.

rarebooklibrarian commented 4 years ago

Connected to this dominance of /find over /items/browse it does not seem to be possible to get the rss feed with Omeka to work anymore.

DigExpCon commented 3 years ago

We have also encountered this issue. Links to .../items/browse?collection=[a number] resolve to /find, with no search parameters--so it just lists all the items.

ambivalentmaybe commented 2 years ago

To remedy this problem, we edited AvantSearch/libraries/AvantSearch/Controller/Plugin/DispatchFilter.php to add the following ca. line 12:

$isCollectionRequest = $request->getParam('collection', false); if ($isCollectionRequest) return;

csidirop commented 1 week ago

To remedy this problem, we edited AvantSearch/libraries/AvantSearch/Controller/Plugin/DispatchFilter.php to add the following ca. line 12:

$isCollectionRequest = $request->getParam('collection', false); if ($isCollectionRequest) return;

Oh great that works as a workaround. Thanks!