From cf5397d9d238f5c4bce0d6edb15bea5730cf239d 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 --- 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.11.0