]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 14 Mar 2023 20:27:28 +0000 (20:27 +0000)
commitab71ea7e30e9c651516f531004041f07a0fb9dd0
tree0ffdd1b3982ce4a8f84d75cd328107d4d3535907
parentdcf364bebaf88121ed37f6694dc103645e8d5585
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>
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt