]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 13:17:04 +0000 (10:17 -0300)
commitbb3fecd0461e91df9a907a85ea58bc5100ad3885
treeb3882a92f0c06193b36f5330b4ebc414f87a6777
parente4665cc2baabe6bdcd1260492401f07e5f6e3d4f
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>
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt