Koha/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves
Jonathan Druart d3f3a55e0b Bug 26234: Teach our KohaTable constructor the specific th classes
We have different classes we can use to set specific behaviours on
table columns: title-string, string-sort, anti-the and NoSort.
We should not need to pass them to the DataTable constructor, we could
teach it that we always want to apply them.

It will avoid bug like bug 26233

The goal is to define them in a centralised place
(columns_settings.inc) then only use the class on the th

Test plan:
Different behaviour and tables must be tested to confirm it works
correctly. Focus must be put on table when aoColumnsDefs is passed from
the template and confirm that this will add more info to aoColumnsDefs
and not remove the existing ones.

Note that this only work when KohaTable is used.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-19 08:24:04 +02:00
..
add_items-step1.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
add_items-step2.tt Bug 22630: Allow to change homebranch in course reserves 2020-04-29 17:07:52 +01:00
batch_add_items.tt Bug 22970: Allow to change homebranch in batch add course reserves 2020-05-12 11:40:54 +01:00
course-details.tt Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
course-reserves.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
course.tt Bug 21838: Wrong alignment of instructors in course reserves 2018-11-16 12:53:02 +00:00
invalid-course.tt Bug 19981: Switch single-column templates to Bootstrap grid: Course reserves 2018-02-18 16:48:48 -03:00