Bugzilla – Attachment 40564 Details for
Bug 14408
Path traversal vulnerabilty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 14408 - itemsearch no longer working
bug-14408---itemsearch-no-longer-working.patch (text/plain), 2.37 KB, created by
Liz Rea
on 2015-06-24 09:44:42 UTC
(
hide
)
Description:
bug 14408 - itemsearch no longer working
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2015-06-24 09:44:42 UTC
Size:
2.37 KB
patch
obsolete
>From 0a40c9ed3c0c5c44995a0e7f6c01dcf43a65456a Mon Sep 17 00:00:00 2001 >From: Liz <wizzyrea@gmail.com> >Date: Wed, 24 Jun 2015 09:42:45 +0000 >Subject: [PATCH] bug 14408 - itemsearch no longer working > >To test: >Click Advanced search in staff client >Click the link for "Item Search" at the top of the page >Do a search, you should get results. Try some combinations and make sure it works like it should. >--- > catalogue/itemsearch.pl | 4 ++-- > .../en/modules/catalogue/{itemsearch.csv.tt => itemsearch_csv.tt} | 0 > .../modules/catalogue/{itemsearch.json.tt => itemsearch_json.tt} | 0 > 3 files changed, 2 insertions(+), 2 deletions(-) > rename koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/{itemsearch.csv.tt => itemsearch_csv.tt} (100%) > rename koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/{itemsearch.json.tt => itemsearch_json.tt} (100%) > >diff --git a/catalogue/itemsearch.pl b/catalogue/itemsearch.pl >index e66aa4f..23ce35e 100755 >--- a/catalogue/itemsearch.pl >+++ b/catalogue/itemsearch.pl >@@ -37,7 +37,7 @@ my %params = $cgi->Vars; > my $format = $cgi->param('format'); > my ($template_name, $content_type); > if (defined $format and $format eq 'json') { >- $template_name = 'catalogue/itemsearch.json.tt'; >+ $template_name = 'catalogue/itemsearch_json.tt'; > $content_type = 'json'; > > # Map DataTables parameters with 'regular' parameters >@@ -69,7 +69,7 @@ if (defined $format and $format eq 'json') { > $cgi->param('op', @op); > $cgi->param('c', @c); > } elsif (defined $format and $format eq 'csv') { >- $template_name = 'catalogue/itemsearch.csv.tt'; >+ $template_name = 'catalogue/itemsearchi_csv.tt'; > > # Retrieve all results > $cgi->param('rows', 0); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.csv.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_csv.tt >similarity index 100% >rename from koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.csv.tt >rename to koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_csv.tt >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.json.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt >similarity index 100% >rename from koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.json.tt >rename to koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt >-- >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 14408
:
40271
|
40336
|
40347
|
40348
|
40374
|
40375
|
40386
|
40387
|
40443
|
40445
|
40446
|
40447
|
40491
|
40492
|
40493
|
40564
|
40610