Jonathan Druart
0c04b397a4
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> |
||
---|---|---|
.. | ||
csv | ||
tables | ||
acqui-home.tt | ||
addorder.tt | ||
addorderiso2709.tt | ||
ajax.tt | ||
basket.tt | ||
basketgroup.tt | ||
basketheader.tt | ||
booksellers.tt | ||
cancelorder.tt | ||
duplicate_orders.tt | ||
edi_ean.tt | ||
edifactmsgs.tt | ||
edimsg.tt | ||
histsearch.tt | ||
invoice-files.tt | ||
invoice.tt | ||
invoices.tt | ||
lateorders.tt | ||
modordernotes.tt | ||
neworderempty.tt | ||
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 |