Bug 20526: Show and sort by date of request in pending discharges table
authorOwen Leonard <oleonard@myacpl.org>
Thu, 5 Apr 2018 13:59:18 +0000 (13:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Apr 2018 17:51:15 +0000 (14:51 -0300)
commita71836f07db418e5c82b5cd55882a1e4d34c732d
tree1ae2e907303eeefff7c82d2f8d7d9f079e9f0600
parentaa2cb3ffbb277fbbe6c7b8f17aa04a67c1996ac2
Bug 20526: Show and sort by date of request in pending discharges table

This patch adds a "date requested" column to the table of pending
discharges, and updates the DataTables configuration to sort by this
column by default.

The patch also makes some other changes:

- Table information and filtering have been added.
- The "Allow" link has been converted to a Bootstrap-styled buttong with
  an icon.

To test, apply the patch and view the table of pending discharge
requests. It should be sorted by default by date requested.

- Confirm that date sorting is correct.
- Confirm that other columns still sort correctly.
- Confirm that buttons look right.
- Confirm that the table information is correct.
- Confirm that the table search form works.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt