Bug 16146 - ACQ: Previewed records in Z39.50 search results are wrong
authorOwen Leonard <oleonard@myacpl.org>
Thu, 24 Mar 2016 16:55:04 +0000 (12:55 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 1 Apr 2016 07:11:04 +0000 (09:11 +0200)
commitea6c6f4155d457fe839f6097732219b07c7a9b9d
tree044329b1bfc9c4891f259128d7034410e98fb590
parent7b2175b2cda21452f20900ba232760941401513e
Bug 16146 - ACQ: Previewed records in Z39.50 search results are wrong

For 3.22.x only:

This patch fixes a bug which was fixed in cataloging by Bug 6367 and
fixed in master by Bug 15318. A misplaced line of JavaScript means that
the popup menu of options shown when clicking in a table cell links to
the wrong record.

To test:

1. Apply the patch and navigate to Acquisitions.
2. Locate an exsiting basket or create a new one.
3. Add to the basket using the option to order from an external source..
4. Perform a search which will return multiple results.
5. Test the "MARC" and "Card" links for multiple results and confirm
   that the correct data is shown each time.
6. Click anywhere in the results table to show the hidden menu and test
   the "Preview MARC," "Preview card," and "Order" links it displays,
   confirming that the actions complete using the correct record.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt