Bugzilla – Attachment 40568 Details for
Bug 14450
Stricter template name rules cause itemsearch to stop working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14450 - itemsearch no longer working
Bug-14450---itemsearch-no-longer-working.patch (text/plain), 2.49 KB, created by
Jonathan Druart
on 2015-06-24 10:16:56 UTC
(
hide
)
Description:
Bug 14450 - itemsearch no longer working
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-06-24 10:16:56 UTC
Size:
2.49 KB
patch
obsolete
>From d99c4c7ccae736b73fe5e2cf64faa04c07e4d6a2 Mon Sep 17 00:00:00 2001 >From: Liz <wizzyrea@gmail.com> >Date: Wed, 24 Jun 2015 09:52:05 +0000 >Subject: [PATCH] Bug 14450 - itemsearch no longer working > >To test: >Click Advanced search in staff client >Click the link for "Go to 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. > >Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > catalogue/itemsearch.pl | 4 ++-- > .../en/modules/catalogue/{itemsearch.csv.tt => itemsearch_csv.tt} | 0 > .../en/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..d86d0b5 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/itemsearch_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 >-- >2.1.0
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 14450
:
40565
|
40566
|
40567
|
40568
|
40570