Bugzilla – Attachment 55713 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]
Bug 17315: (Bug 17210 follow-up) Fix "Save to lists" links from the result page
Bug-17315-Bug-17210-follow-up-Fix-Save-to-lists-li.patch (text/plain), 1.42 KB, created by
Jonathan Druart
on 2016-09-20 10:10:32 UTC
(
hide
)
Description:
Bug 17315: (Bug 17210 follow-up) Fix "Save to lists" links from the result page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-09-20 10:10:32 UTC
Size:
1.42 KB
patch
obsolete
>From 583c12a5b2e6d473fabb76bf1393e17e02b7d9bf 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] 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. >--- > 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.8.1
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