Bug 22816: OPAC detail holdings table should now look a bit better
authorLiz Rea <wizzyrea@gmail.com>
Wed, 1 May 2019 00:31:15 +0000 (00:31 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Sun, 26 May 2019 13:05:30 +0000 (13:05 +0000)
commit2b25d27cc01ecb745219197b90bf262db283aadb
treedf936a0cf88a5747699289ddb8e7b07ac1687714
parenta0066c945290124b17f0b44febd3316169ccdf3c
Bug 22816: OPAC detail holdings table should now look a bit better

This patch sets the "autowidth" option to "false" for the OPAC
holdings DataTable on opac-detail.pl. This gives the table a fluid
width rather than having the width be "hard-coded" by DataTables upon
first page render.

To test, apply the patch and view the detail page for a bibliographic
record with some items. Under the "Holdings" tab, the table of
holdings should fill the width of the tab container.

Resize the browser window and confirm that the table width adjusts
accordingly.

Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: arthur <arthur.bousquet@inlibro.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 604c7b818b63b93c66bb751ceb9d99bc1c109be9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 32761305d3064cea7da31447e045c4989fdf3c26)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt