Bugzilla – Attachment 8463 Details for
Bug 7786
Adding More Lists to the Add-to combo of staff search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 2.26 KB, created by
Marcel de Rooy
on 2012-03-22 06:55:32 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2012-03-22 06:55:32 UTC
Size:
2.26 KB
patch
obsolete
>From 9461a7f8e10b9f126bc5ff535ba90ca52efb457e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 22 Mar 2012 07:35:37 +0100 >Subject: [PATCH] Bug 7786 Adding More Lists-option to the Add-to combo of staff search results >Content-Type: text/plain; charset="utf-8" > >--- > .../prog/en/modules/catalogue/results.tt | 10 +++++++++- > 1 files changed, 9 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 7830902..4230425 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -41,6 +41,11 @@ function cartList(){ > Dopop('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?newshelf=1&' + vShelfAdd()); > } > return false; >+ } else if($("#addto").find("option:selected").attr("value") == "morelists"){ >+ if (vShelfAdd()) { >+ Dopop('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?' + vShelfAdd()); >+ } >+ return false; > } > if($("#addto").find("option:selected").attr("value") == "addtocart"){ > addMultiple(); >@@ -64,8 +69,11 @@ $(".addtocart").show(); > param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %] > param1 += "<\/optgroup>";[% END %] > [% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public Lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %] >+ param1 += "<\/optgroup>";[% END %] >+ [% IF ( addbarshelvesloop.size>9 || addpubshelvesloop.size>9 ) %] >+ param1 += "<option value=\"morelists\">[ "+_("More Lists")+" ]<\/option>"; > [% END %] >- param1 +="<\/optgroup><option value=\"newlist\">"+_("[ New List ]")+"<\/option>" >+ param1 +="<option value=\"newlist\">"+_("[ New List ]")+"<\/option>" > [% END %] > param1 += "<\/select> <input id=\"cartsubmit\" type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />"; > $('#sortsubmit').hide(); >-- >1.6.0.6 >
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 7786
: 8463