Bugzilla – Attachment 82101 Details for
Bug 21789
Example usage of I18N Template::Toolkit plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21789: Example usage of I18N Template::Toolkit plugin
Bug-21789-Example-usage-of-I18N-TemplateToolkit-pl.patch (text/plain), 2.69 KB, created by
Julian Maurice
on 2018-11-08 16:37:40 UTC
(
hide
)
Description:
Bug 21789: Example usage of I18N Template::Toolkit plugin
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-11-08 16:37:40 UTC
Size:
2.69 KB
patch
obsolete
>From 95042a72f052bcec1126ef225a8af5b01a1c01c5 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 16 Dec 2015 01:25:44 +0100 >Subject: [PATCH] Bug 21789: Example usage of I18N Template::Toolkit plugin >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Search.pm | 1 - > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 3 ++- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 6e81497823..fac04b0079 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -2259,7 +2259,6 @@ sub searchResults { > } > } > $oldbiblio->{norequests} = 1 unless $can_place_holds; >- $oldbiblio->{itemsplural} = 1 if $items_count > 1; > $oldbiblio->{items_count} = $items_count; > $oldbiblio->{available_items_loop} = \@available_items_loop; > $oldbiblio->{onloan_items_loop} = \@onloan_items_loop; >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 bd0a838942..5396ebd19d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -3,6 +3,7 @@ > [% USE Koha %] > [% USE Biblio %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% USE AuthorisedValues %] > [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >@@ -490,7 +491,7 @@ > <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses"> > [% END %] > >- [% SEARCH_RESULT.items_count | html %] [% IF ( SEARCH_RESULT.itemsplural ) %]items[% ELSE %]item[% END %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] >+ [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] > > [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] > </span> >-- >2.17.1
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 21789
: 82101