]> git.koha-community.org Git - koha.git/commit
Bug 11994: (follow-up) Make things work when LibraryName is empty
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 1 May 2020 20:11:29 +0000 (20:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 12:31:37 +0000 (14:31 +0200)
commit1e0dd6d0783a66514fc92cc0a34ca0882a5ce62f
treed24011a3dfd35e5e0e28b644c97c15b6a5c2a642
parentf090c1d2cb9253d77c5bac3b8fa03c775af2f0f6
Bug 11994: (follow-up) Make things work when LibraryName is empty

When LibraryName system preference was not set, the installation
of the plugin would fail with:

Firefox could not download the search plugin from: ...

Now if the pref is empty, the description 'Library catalog'
will be used instead.

To test:
- Empty your LibraryName pref
- Verify the search plugin can still be installed
  (see first patch for further instructions)

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt