LP#1694497: fix record links on 2nd+ page of grouped results user/jboyer/lp1694497_improve_paging_signoff
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 May 2017 19:51:23 +0000 (15:51 -0400)
committerJason Boyer <jboyer@library.in.gov>
Wed, 31 May 2017 14:14:05 +0000 (10:14 -0400)
commit9781bbb751f7568c494caea28927963f58732a91
treeae3e3184a5fc76ca638aa7427ad65e3f8fff7301
parentb7d2ca71c16b892104538902efd8c7e501229efd
LP#1694497: fix record links on 2nd+ page of grouped results

This patch fixes a bug wherein the second (and subsequent)
pages of search results in the public catalog (when group
formats and editions is in effect) does not correctly generate
links to hits that are not part of of a multi-bib metarecords.

To test
-------
1. Keyword search concerto for "piano"
2. Check the box for "Group formats and Editions"
3. Click Page 2
4. Click any result that is not a group (missing the parentheses after
   the title). You will get redirected to the my account page.
5. Apply the patch and do steps #1-4 again. This time, you should
   end up on the record details page.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm