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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jul 2020 16:04:13 +0000 (16:04 +0000)
commit42e8c0185cf50b93789f3cfe6d4532565e084aeb
treef2cb696dfebd529f2e0ee8a11255941bdabd8a93
parente15992e4eb1e194a8ecc3bf8f04b5a74e6e5520a
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt