Bugzilla – Attachment 90448 Details for
Bug 22937
Searching by library groups uses group Title rather than Description
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22937: Display library search group descriptions
Bug-22937-Display-library-search-group-description.patch (text/plain), 2.48 KB, created by
David Nind
on 2019-06-09 20:36:48 UTC
(
hide
)
Description:
Bug 22937: Display library search group descriptions
Filename:
MIME Type:
Creator:
David Nind
Created:
2019-06-09 20:36:48 UTC
Size:
2.48 KB
patch
obsolete
>From 017235217557355d2066f2edaa434ea18bd59c8a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 8 Jun 2019 15:15:05 -0500 >Subject: [PATCH] Bug 22937: Display library search group descriptions > >Instead of their "title" > >Test plan: >Create a group of library with a title and a description >On the advanced search pages (OPAC & staff) confirm the the description >is displayed >Edit the group of library and remove its description >The "title" must now be displayed > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index b41c45f577..0a0c17254e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -254,7 +254,7 @@ > <option value=""> -- none -- </option> > [% FOREACH sg IN search_groups %] > [% UNLESS sg.branchcode %] >- <option value="[% sg.id | html %]">[% sg.title | html %]</option> >+ <option value="[% sg.id | html %]">[% sg.description || sg.title | html %]</option> > [% END %] > [% END %] > </select> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 881d6d2403..fc85b11873 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -245,7 +245,7 @@ > <select name="multibranchlimit" id="categoryloop"> > <option value=""> -- none -- </option> > [% FOREACH sg IN search_groups %] >- <option value="[% sg.id | html %]">[% sg.title | html %]</option> >+ <option value="[% sg.id | html %]">[% sg.description || sg.title | html %]</option> > [% END %] > </select> > [% END %] >-- >2.11.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 22937
:
90442
|
90448
|
102012
|
102512
|
102522
|
102541