Koha/admin
Owen Leonard 499c7a0a8d Bug 7374: Add remote image option for authorized values
This patch adds the option of using a remote image for an authorized
value, just as you can with item types.

To test, apply the patch and go to Administration -> Authorized values.

- Click "CCODE" to view the collection authorized values.
- Edit a collection code.
- In the form, under "Choose an icon," there should now be a "Remote
  image" tab.
- Enter a remote image url, e.g. https://via.placeholder.com/50/FF0000/FFFFFF.png
- Click "Save."
- After the page redirects to the list of collection codes you should
  see your image in the table next to the code you edited.
- Test that you can still edit a collection to set "No image" or to
  use one of the local image sets.
- Test that remote images can also be added when adding a new
  collection.

- Make sure "ccode" is in the "AdvancedSearchTypes" sytem preference.
- Go to the catalog's advanced search page and click the "Collection"
  tab.
- You should see your collection image in the list of collections.
- Perform the same check in the OPAC.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

JD amended patch: fix indentation

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-10 14:44:23 -10:00
..
searchengine/elasticsearch Bug 29436: ES mappings not saved if zebra is configured 2021-12-21 20:49:53 -10:00
add_user_search.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
additional-fields.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
admin-home.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
adveditorshortcuts.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
aqbudgetperiods.pl Bug 29429: (bug 17600 follow-up) Fix import in aqbudgetperiods.pl 2021-11-08 12:11:44 +01:00
aqbudgets.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
aqcontract.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
aqplan.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
audio_alerts.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
auth_subfields_structure.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
auth_tag_structure.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
authorised_values.pl Bug 7374: Add remote image option for authorized values 2022-02-10 14:44:23 -10:00
authtypes.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
background_jobs.pl Bug 29020: Add link on the mainpage for users without admin access 2021-10-19 09:29:09 +02:00
biblio_framework.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
branch_transfer_limits.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
branches.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
cash_registers.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
categories.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
check_budget_parent.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
check_parent_total.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
checkmarc.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
cities.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
classsources.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
clone-rules.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
columns_settings.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
columns_settings.yml Bug 27868: Add expiration date to holds awaiting pickup 2022-01-28 11:09:07 -10:00
credit_types.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
currency.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
debit_types.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
desks.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
didyoumean.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
edi_accounts.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
edi_ean_accounts.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
import_export_framework.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
item_circulation_alerts.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
items_search_field.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
items_search_fields.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
itemtypes.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
koha2marclinks.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
library_groups.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
localization.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
marc-overlay-rules.pl Bug 14957: Fix perlcritic error on admin/marc-overlay-rules.pl 2021-10-27 09:16:42 +02:00
marc_subfields_structure.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
marctagstructure.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
matching-rules.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
oai_set_mappings.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
oai_sets.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
overdrive.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
patron-attr-types.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
preferences.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
share_content.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
smart-rules.pl Bug 27946: Add article request fee to circulation rules 2022-01-28 11:09:07 -10:00
sms_providers.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
smtp_servers.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
sru_modmapping.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
systempreferences.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transfer_limits.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transport-cost-matrix.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
usage_statistics.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
z3950servers.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00