Bugzilla – Attachment 131285 Details for
Bug 30191
Authority search result list in the OPAC should use 'record' instead of 'biblios'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30191: Authority search result list in the OPAC should use 'record' instead of 'biblios'
Bug-30191-Authority-search-result-list-in-the-OPAC.patch (text/plain), 3.34 KB, created by
Owen Leonard
on 2022-03-02 16:30:15 UTC
(
hide
)
Description:
Bug 30191: Authority search result list in the OPAC should use 'record' instead of 'biblios'
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-03-02 16:30:15 UTC
Size:
3.34 KB
patch
obsolete
>From f984db00bb42d40d183a0c889df8aaca6add7b9a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 2 Mar 2022 16:21:41 +0000 >Subject: [PATCH] Bug 30191: Authority search result list in the OPAC should > use 'record' instead of 'biblios' > >This patch updates the OPAC authority search results page so that it >uses the term "record" instead of "biblio." > >The patch also changes how the template outputs the count of records so >that it is correctly pluralized, e.g. "1 record" vs. "2 records." > >To test, apply the patch and perform an authority search in the OPAC. > >In the search results, confirm that the last table header reads >"Records." The information in that column should be correct, using the >word record or records. >--- > .../en/modules/opac-authoritiessearchresultlist.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >index 8bc51138b0..9c0623c95f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >@@ -5,6 +5,7 @@ > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% PROCESS 'opac-authorities.inc' %] > [% PROCESS 'authorities-search-results.inc' %] >+[% PROCESS 'i18n.inc' %] > [% BLOCK pagination %] > <nav class="pagination pagination-sm noprint" aria-label="Search results pagination"> > <ul class="pagination"> >@@ -98,7 +99,7 @@ > <th colspan="2">Authorized headings</th> > <th>Type of heading</th> > [% UNLESS ( isEDITORS ) %] >- <th>Biblio records</th> >+ <th>Records</th> > [% END %] > </tr> > </thead> >@@ -110,7 +111,11 @@ > <td>[% resul.authtype | html %]</td> > [% UNLESS ( resul.isEDITORS ) %] > <td> >- [% IF resul.used > 0 %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=[% resul.authid | uri %]">[% resul.used | html %] biblios</a>[% ELSE %]0 biblios[% END %] >+ [% IF resul.used > 0 %] >+ <a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=[% resul.authid | uri %]">[% resul.used | html %] [% tn('record', 'records', resul.used ) | html %]</a> >+ [% ELSE %] >+ 0 records >+ [% END %] > </td> > [% END %] > </tr> >-- >2.20.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 30191
:
131285
|
133418
|
133728