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

--- Comment #2 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to