From 164eda8333e60608c8e74893bc351c318daccb32 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Nov 2019 18:11:55 +0000 Subject: [PATCH] Bug 24076: Remove inline CSS to center patron home library in search results This patch removes code from the patron search results DataTable configuration which was designed to add "text-align:center" to the table cells containing patron home library. I don't think there's a good reason to centering to that data. To test, apply the patch and perform a patron search in the staff client. The "Library" column should contain left-aligned data, matching almost every other column in the table. Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index 369acb2df8..3d79c56b3b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -478,12 +478,6 @@ { 'mDataProp': 'dt_borrowernotes' }, { 'mDataProp': 'dt_action', 'bSortable': false, 'sClass': 'actions' } ], - 'fnRowCallback': function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { - /* Center text for 6th column */ - $("td:eq(5)", nRow).css("text-align", "center"); - - return nRow; - }, 'bFilter': false, 'bAutoWidth': false, [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %] -- 2.39.5