[Koha-bugs] [Bug 17947] Searching my library first shows the branchcode by the search bar rather than branchname

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 20 01:59:04 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17947

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 59293
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59293
Bug 17947 Searching my library first shows the branchcode by the search bar
rather than branchname

Review of attachment 59293:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17947&attachment=59293)
-----------------------------------------------------------------

::: koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ +155,4 @@
>                                  <label for="masthead_search"> Search
>                                      [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
>                                          [% IF ( mylibraryfirst ) %]
> +                                            (in [% LibraryNameTitle %] only)

This is based on the systempreference LibraryName.
Perhaps Branches.GetName(mylibraryfirst) is a better choice?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list