Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv
tables
acqui-home.tt
addorder.tt
addorderiso2709.tt Bug 25473: Move JavaScript out of the footer of addorderiso2709.tt 2020-05-22 09:33:17 +01:00
ajax.tt
basket.tt Bug 24156: Make sort order and number of items to display configurable (basket page) 2020-06-25 10:51:59 +02:00
basketgroup.tt
basketheader.tt
booksellers.tt
cancelorder.tt
duplicate_orders.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
edi_ean.tt
edifactmsgs.tt
edimsg.tt
histsearch.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
invoice-files.tt
invoice.tt Bug 25545: (follow-up) Fix capitalization 2020-06-15 10:31:36 +02:00
invoices.tt
lateorders.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
modordernotes.tt
neworderempty.tt Bug 14543: (QA follow-up) Add missing filter 2020-06-12 10:32:35 +02:00
neworderempty_duplicate.tt
newordersubscription.tt
newordersuggestion.tt
ordered.tt
orderreceive.tt
parcel.tt
parcels.tt
showorder.tt
spent.tt
supplier.tt
transferorder.tt
uncertainprice.tt
z3950_search.tt Bug 25702: Actions button on Search results from Z39.50 is displayed incorrectly 2020-06-23 10:15:03 +02:00