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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 23 Jul 2020 23:40:04 +0000 (01:40 +0200)
commita783ce390e566a3027f47a62d7e9d3581daf05ae
tree513f35b962ae402b8df01817976e96bcdc2ad9b5
parent0479308267f66e9e402b6bafa9ee85f801df263c
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>

(cherry picked from commit da97436614ce8b1ddb9aa2e7f1861d1e82deea84)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt