Bugzilla – Attachment 13458 Details for
Bug 9087
In Search.pl if there is parenthesis in itemcallnumber the link is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Bug-9087-In-Search.pl-if-there-is-parenthesis-in-ite.patch (text/plain), 2.06 KB, created by
Christophe Croullebois
on 2012-11-15 11:11:18 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Christophe Croullebois
Created:
2012-11-15 11:11:18 UTC
Size:
2.06 KB
patch
obsolete
>From 1dba8e854df637bb4b013caec8a967753cbfae3d Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Thu, 15 Nov 2012 11:35:31 +0100 >Subject: [PATCH 1/1] Bug 9087: In Search.pl if there is parenthesis in > itemcallnumber the link is broken > >The search with parenthesis in 'q=xxxxx(x)xx' raises an error message: >"Can't call method "sort" on an undefined value at /home/koha/src/C4/Search.pm line 404." >The easier way to solve this problem is to put quotes for the query, q="xxxx(x)xx" >--- > .../prog/en/modules/catalogue/results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 4d89a53..9e0ed9a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -556,7 +556,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () { > [% END %] > [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %] > [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %] >- [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=[% available_items_loo.itemcallnumber |url %]">[% available_items_loo.itemcallnumber %]</a>][% END %] >+ [% IF ( available_items_loo.itemcallnumber ) %][<a href='/cgi-bin/koha/catalogue/search.pl?idx=callnum&q="[% available_items_loo.itemcallnumber |url %]"'>[% available_items_loo.itemcallnumber %]</a>][% END %] > ([% available_items_loo.count %]) > [% IF item_level_itypes && available_items_loo.description %] > <br/>[% available_items_loo.description %] >-- >1.7.9.5 >
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 9087
: 13458