]> git.koha-community.org Git - koha.git/commit
Bug 33189: Make plugin upload look for .kpz files in file picker
authorDavid Cook <dcook@prosentient.com.au>
Fri, 10 Mar 2023 05:23:24 +0000 (05:23 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 30 Mar 2023 07:47:20 +0000 (09:47 +0200)
commitdc1858dcd88844faa922b5b78ad9532b19e78b0b
tree493c0f96a26c0ca2ee439821cb85de2ad705c349
parent57d2657d28f32ef7541da5b7c9f6410be112bbbd
Bug 33189: Make plugin upload look for .kpz files in file picker

This change configures the file picker to look for *.kpz files instead
of *.* files, which makes it more convenient to locate .kpz files
for upload when uploading plugins.

Test plan:
0. Apply patch
1. Go to http://localhost:8081/cgi-bin/koha/plugins/plugins-upload.pl
2. Click on "Choose file"
3. Note that the file type in the box at the bottom right of the screen
defaults to "KPZ File (*.kpz)
4. If you navigate to a directory that contains .kpz files (like Downloads),
you'll now see directory folders and .kpz files.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bb3fecd0461e91df9a907a85ea58bc5100ad3885)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit c4c77251a2c243c79284ad254b1fc54bebaedd85)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ab71ea7e30e9c651516f531004041f07a0fb9dd0)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt