From 2aa8d3120fa8653f37998040c96dceed16546488 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 8 Feb 2021 18:14:03 +0000 Subject: [PATCH] Bug 27632: add class to results TR and data-biblionumber This patch adds a data-biblionumber to each table row on the results page. To make it easier to target it also adds the class 'bibliorow'. To test: -Apply patch and do an OPAC search that returns several results -Inscept and look for the class bibiorow -Make sure it contains a data-biblionumber attr with a value that matches the biblionumber Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index a60ac5f5e9..02dc79ef79 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -300,7 +300,7 @@ [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] - + [% # Cell 1: Checkbox %] [% IF ( SEARCH_RESULT.title ) %] [% check_title = SEARCH_RESULT.title %] -- 2.11.0