Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Avant search breaks browse items in collection #2

Open
mebrett opened this issue Apr 11, 2019 · 4 comments
Open

Avant search breaks browse items in collection #2

mebrett opened this issue Apr 11, 2019 · 4 comments

Comments

@mebrett
Copy link

mebrett commented Apr 11, 2019

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants