Koha-clms/Koha/Template/Plugin
Jonathan Druart 0c04b397a4 Bug 24156: Make sort order and number of items to display configurable (basket page)
This patch is the main patch of this patchset, you will find the
description and the test plan.

The idea of this new enhancement is to add the ability to define the
default sort order and the default number of rows displayed on the
acquisition basket page.
The existing "columns settings" feature was replaced by a
"tables settings" feature. To prepare the ground, there were some
works that were needed:
  * rename variables and files
  * Modify the structure of the yml files
  * Create a new DB table to store the tables settings

Test plan:
0)
  a. Execute the update DB entry to create the new table
  b. Restart all (to get a new version of the yml file, that is cached by
   memcached)
  c. Create several orders for a given basket
1) Go to the basket view page
=> The default values are the same than without this patchset, the
number of entries to display is set to "20" and the table is sorted by
basket number (first column)
2) Go to the "Columns settings" page
3) Unfold the "Acquisition" tab
=> Notice the 2 dropdown lists at the bottom of the basket table
4) Select different values for "Default display length" and "Default
sort order"
5) Refresh the basket view page
=> Notice that the default settings are now effective on the table

QA note: We can decide to replace the different occurrences of "Columns settings"
by "Tables settings" if needed.

Sponsored-by: Institute of Technology Tallaght

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-06-25 10:51:59 +02:00
..
Asset.pm Bug 22451: Make Asset plugin use Koha::version instead of version from db 2019-04-16 13:17:32 +00:00
AudioAlerts.pm Bug 11431: (QA followup) Move AudioAlerts to a separate plugin 2015-11-04 12:33:10 -03:00
AuthorisedValues.pm Bug 21503: Restore existing ternary operator logic 2020-03-24 11:30:08 +00:00
Biblio.pm Bug 14610 - Add and update modules 2016-10-26 12:15:13 +00:00
Branches.pm Bug 25421: Remove use of Koha::Libraries->pickup_locations 2020-05-12 11:00:14 +01:00
Cache.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Categories.pm Bug 21890: (QA follow-up) Use List::Util::any 2019-04-12 02:32:04 +00:00
CirculationRules.pm Bug 24026: (bug 22847 follow-up) Remove c/p issues 2019-11-13 13:49:04 +00:00
HtmlTags.pm Bug 18665 - Translatability: Add tt filter to allow html tags inside tt directives 2017-06-21 11:22:18 -03:00
I18N.pm Bug 24068: (RM follow-up) Enhance the POD 2019-11-22 14:57:46 +00:00
ItemTypes.pm Bug 17843: [QA Follow-up] Some polishing 2017-07-05 13:42:21 -03:00
Koha.pm Bug 20415: Add POD 2020-03-26 11:42:11 +00:00
KohaDates.pm Bug 24455: Add JS functions to format date and datetime strings 2020-03-25 13:54:17 +00:00
KohaNews.pm Bug 24745: (follow-up) Correct return statement in news plugin 2020-03-25 09:42:10 +00:00
KohaPlugins.pm Bug 20415: Remove UseKohaPlugins system preference 2020-03-26 11:42:02 +00:00
KohaSpan.pm Bug 15707: (QA follow-up) Allow object names to be styled without impeding translation 2018-02-12 15:41:08 -03:00
Languages.pm Bug 18213: Add Template plugin and fix for C4/Languages 2019-03-28 15:57:32 +00:00
Price.pm Bug 4078: Pass with_symbol to module 2018-03-23 11:45:38 -03:00
Remove_MARC_punctuation.pm Bug 19578: Remove MARC punctuation in notices (TT syntax) 2018-04-04 15:45:43 -03:00
TablesSettings.pm Bug 24156: Make sort order and number of items to display configurable (basket page) 2020-06-25 10:51:59 +02:00
To.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
raw.pm Bug 13618: Add POD to raw.pm 2018-08-17 16:14:14 +00:00