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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 13 Jul 2020 02:19:26 +0000 (14:19 +1200)
commitda97436614ce8b1ddb9aa2e7f1861d1e82deea84
tree9fc4187441cb9a2405c8bb8b3dc79d03c15e9da8
parentc1ef8a49de0dab37cfb94de9c3e13410989a2de7
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>
(cherry picked from commit 1e0dd6d0783a66514fc92cc0a34ca0882a5ce62f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 42e8c0185cf50b93789f3cfe6d4532565e084aeb)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt