]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:17:25 +0000 (10:17 +0200)
commit1dbc8e550e45a475ccbbc9d375c739307a6630bb
tree9d9b1415c71c973013414eff98d54647d80bc153
parent5a4a65cdbbf2f6cabd5b0979e4c5e969eb66e0fb
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>
(cherry picked from commit e422de7b62322b2637ac5623d102563dd3e82b36)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc