Bugzilla – Attachment 34541 Details for
Bug 13364
Add a call number browser to add item page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13364 - fix patch - search call number does not work
0002-fix-patch-search-call-number-does-not-work.patch (text/plain), 1.60 KB, created by
Paola Rossi
on 2014-12-19 14:05:19 UTC
(
hide
)
Description:
Bug 13364 - fix patch - search call number does not work
Filename:
MIME Type:
Creator:
Paola Rossi
Created:
2014-12-19 14:05:19 UTC
Size:
1.60 KB
patch
obsolete
>From 4caab043b82bf6412c72850d694a3d135493cb2e Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Wed, 3 Dec 2014 14:29:52 -0500 >Subject: [PATCH 2/4] fix patch - search call number does not work > >http://bugs.koha-community.org/show_bug.cgi?id=13364 > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/cn_browser.tt | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cn_browser.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cn_browser.tt >index 3e12133..7de6ae3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cn_browser.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cn_browser.tt >@@ -29,7 +29,14 @@ $(document).ready(function() > type: "text" > }); > $("#course_reserves").tablesorter({sorter:'textspec'}); >+ >+ $("#cn_browser_submit").click(function(){ >+ window.location.href='/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q='+$("#cn_browser_input").val(); >+ return false; >+ }); >+ > } >+ > ); > </script> > >@@ -40,8 +47,8 @@ $(document).ready(function() > <div style="margin:auto;text-align:center;"> > <form method="get" action="cn_browser.pl"> > <label for="searchcn">Search call number:</label> >- <input type="text" name="q" value="[% q %]" /> >- <input type="submit" value="Search" /> >+ <input type="text" id="cn_browser_input" name="q" value="[% q %]" /> >+ <input id="cn_browser_submit" type="submit" value="Search" /> > </form> > </div> > <br /> >-- >1.7.10.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 13364
:
34041
|
34108
|
34109
|
34476
|
34540
|
34541
|
34542
|
34543
|
34586
|
34587
|
34588
|
34589
|
35067
|
35549
|
36194
|
36235
|
36249
|
36431
|
36596
|
36597
|
36598
|
36599
|
36600
|
36601
|
36723
|
36782
|
37192
|
37193
|
37194
|
37195
|
38010
|
38011
|
38018
|
38019
|
38894