]> git.koha-community.org Git - koha.git/commit
Bug 17315: (Bug 17210 follow-up) Fix "Save to lists" links from the result page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Sep 2016 10:06:23 +0000 (11:06 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Sun, 25 Sep 2016 13:12:52 +0000 (13:12 +0000)
commite422de7b62322b2637ac5623d102563dd3e82b36
tree7918fe119a2bb30efda83b4c388c45a7a55ffbbe
parent9734726846f6fa652d88c8bc39c7b43595422465
Bug 17315: (Bug 17210 follow-up) Fix "Save to lists" links from the result page

On bug 17210, the selector .addtoshelf should not have caught the
.addtoshelf nodes from the result list.
To fix this, we just need to make the selector more specific (and cannot
reuse it without more changes, the biblionumber variable is not the same
- vs SEARCH_RESULT.biblionumber).

Test plan:
Make sure the 2 links (from detail and search result) "Save to lists"
and "Save to your lists" work as expected.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc