Bugzilla – Attachment 55801 Details for
Bug 17315
Can't add entry to lists using link in result list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 17315: (Bug 17210 follow-up) Fix "Save to lists" links from the result page
PASSED-QA-Bug-17315-Bug-17210-follow-up-Fix-Save-t.patch (text/plain), 1.49 KB, created by
Katrin Fischer
on 2016-09-25 16:27:36 UTC
(
hide
)
Description:
[PASSED QA] Bug 17315: (Bug 17210 follow-up) Fix "Save to lists" links from the result page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-09-25 16:27:36 UTC
Size:
1.49 KB
patch
obsolete
>From 731526ff165be26ad08eb93c5c826682686920f4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 20 Sep 2016 11:06:23 +0100 >Subject: [PATCH] [PASSED QA] 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> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 7f3ba13..1a13370 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -154,7 +154,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > window.print(); > return false; > }); >- $(".addtoshelf").on("click",function(){ >+ $("#ulactioncontainer > ul > li > a.addtoshelf").on("click",function(){ > Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber %]'); > return false; > }); >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17315
:
55713
|
55716
| 55801