Bug 31603

Summary: Add search option for plugin page
Product: Koha Reporter: Jessie Zairo <jzairo>
Component: System AdministrationAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: cbrannon, dcook, george, gmcharlt, kelly, lucas, nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.11.00
Attachments: Bug 31603: Add search option for plugin page
Bug 31603: Add search option for plugin page
Bug 31603: Add search option for plugin page

Description Jessie Zairo 2022-09-22 14:34:11 UTC
It would be great to add a search box on this page  /plugins/plugins-home.pl to allow users to search the installed plugins. 

Steps to recreate 
go to administration 
click on manage plugins
Comment 1 George Williams (NEKLS) 2022-09-22 14:34:44 UTC
I agree, this would be a great enhancement!
Comment 2 Christopher Brannon 2022-09-22 14:39:38 UTC
I guess you could make this a feature, but couldn't you just do a screen search, or do the plugins paginate if the list is too big?
Comment 3 Owen Leonard 2022-09-22 14:56:24 UTC
Created attachment 140850 [details] [review]
Bug 31603: Add search option for plugin page

This patch converts the table of plugins to a DataTable so that
it will have dynamic sorting, export options, and the quick search
field at the top of the table.

To test you should have more than one plugin installed.

- Apply the patch and go to Administration -> Manage plugins.
- The table should be styled as a DataTable, with the first column
  sorted by default.
- At the top of the table you should see the number of entries,
  a quick search form, and an export button.
- Confirm that the quick search form works to filter plugins by
  name, description, author, etc.
Comment 4 Lucas Gass 2022-09-22 15:14:34 UTC
Created attachment 140851 [details] [review]
Bug 31603: Add search option for plugin page

This patch converts the table of plugins to a DataTable so that
it will have dynamic sorting, export options, and the quick search
field at the top of the table.

To test you should have more than one plugin installed.

- Apply the patch and go to Administration -> Manage plugins.
- The table should be styled as a DataTable, with the first column
  sorted by default.
- At the top of the table you should see the number of entries,
  a quick search form, and an export button.
- Confirm that the quick search form works to filter plugins by
  name, description, author, etc.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 5 Katrin Fischer 2022-10-01 19:19:26 UTC
Created attachment 141179 [details] [review]
Bug 31603: Add search option for plugin page

This patch converts the table of plugins to a DataTable so that
it will have dynamic sorting, export options, and the quick search
field at the top of the table.

To test you should have more than one plugin installed.

- Apply the patch and go to Administration -> Manage plugins.
- The table should be styled as a DataTable, with the first column
  sorted by default.
- At the top of the table you should see the number of entries,
  a quick search form, and an export button.
- Confirm that the quick search form works to filter plugins by
  name, description, author, etc.

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 6 Katrin Fischer 2022-10-01 19:20:07 UTC
Love this, small change, great effect :)
Comment 7 Tomás Cohen Arazi 2022-10-03 16:53:31 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!