Bug 35124: Incorrect item groups table markup
authorOwen Leonard <oleonard@myacpl.org>
Fri, 20 Oct 2023 17:01:00 +0000 (17:01 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 26 Oct 2023 06:33:19 +0000 (20:33 -1000)
commit0c3807caa01e6ffcf01028928fc226081f5d9c61
tree209e9dd28d2ac5b5015ff6930cc5fa0bd80659b2
parentb27a2a2eb09a7390d9e56af2b03c42df6d692dcf
Bug 35124: Incorrect item groups table markup

This patch corrects the markup of the item groups table which is found
under the "Item groups" tab on the bibliographip detail page in the
staff interface.

The patch also adds the "NoSort" class to the "actions" column to
prevent it from being sortable.

To test, apply the patch and make sure the "EnableItemGroups" system
preference is enabled.

- In the staff interface, locate a record with items and view the detail
  page.
- Under the "Item groups" tab confirm that the table looks correct: The
  heading labels should be centered bold text.
- You should see sorting indicators on the "Display order" and "Description"
  headings but not on the last one.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 174cd59cea0e9a69aa3d690ef25190c293345a83)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt