Bug 11314: restore ability to see only 5 entries on parcel.pl
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 27 Nov 2013 17:40:11 +0000 (12:40 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 Apr 2014 17:21:29 +0000 (19:21 +0200)
commit32a62d7a50d041f3229fe9be40d9b1d5760310cd
treed0358a077cf74576fe2c7bc0b191529a2960da07
parent088e11b7fad0b018e359950fe76c65c5b916bc61
Bug 11314: restore ability to see only 5 entries on parcel.pl

Bug 9130 removed the ability to limit the tables on parcel.pl to 5 rows,
as well as the "sticky" feature. It is trivial to restore this
functionality. These datatables are already using bStateSave, so are
they are "sticky" already. The only part left is to enable the
ability to limit the table to 5 rows at a time.

Test Plan:
1) Apply this patch
2) Browse to parcel.pl
3) Note the default rows count is still 10
4) Note the option to limit the row count to 5

Signed-off-by: David Cook <dcook@prosentient.com.au>
Works as described.

Double-checked that the "sticky" feature is still in place thanks
to bStateSave.

I didn't notice a difference due to iDisplayLength being added, but
the extra option of "5" to the list is there.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 2bb4f4b42b3e3dfc7bc4233d16888d953625025b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt