LP#1053397 repair one-hit redirect logic for metarecords
authorBill Erickson <berick@esilibrary.com>
Fri, 14 Feb 2014 17:23:02 +0000 (12:23 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 17 Feb 2014 18:52:02 +0000 (13:52 -0500)
commitb10e6876dec101e2dcde244a5c4d93a974474403
treef306880e67f081c9e02959c88f6599439fe6ee4a
parente6e296bc1309d794884a6d4ebb3be59b883ca848
LP#1053397 repair one-hit redirect logic for metarecords

* Only perform the single-hit redirect if there is only one metarecord
  search result and the MR only has a single constituent record.

* Repair the record id logic so the redirect jumps to the correct
  record.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm