Bugzilla – Attachment 148046 Details for
Bug 33189
Plugin upload should prompt for .kpz files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33189: Make plugin upload look for .kpz files in file picker
Bug-33189-Make-plugin-upload-look-for-kpz-files-in.patch (text/plain), 1.78 KB, created by
David Cook
on 2023-03-10 05:25:58 UTC
(
hide
)
Description:
Bug 33189: Make plugin upload look for .kpz files in file picker
Filename:
MIME Type:
Creator:
David Cook
Created:
2023-03-10 05:25:58 UTC
Size:
1.78 KB
patch
obsolete
>From 2182ea5f41c9278471ba1a001c062e463734239b Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 10 Mar 2023 05:23:24 +0000 >Subject: [PATCH] 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. >--- > .../intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt >index bb493d04a4..08f08d192b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt >@@ -49,7 +49,7 @@ > <div class="hint"><strong>NOTE:</strong> Only KPZ file format is supported.</div> > <ol> > <li> >- <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> >+ <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" accept=".kpz" /> > </li> > </ol> > </fieldset> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33189
:
148046
|
148049