Bug 28204: Fix table highlighting on the items table
authorPetro Vashchuk <stalkernoid@gmail.com>
Thu, 20 May 2021 13:12:18 +0000 (16:12 +0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Jun 2021 10:10:09 +0000 (12:10 +0200)
commit80b632c3cc1dbf2e309d0693f6b53b8055f3a319
tree564f21cf41f8cdc6da1ef81c1542c28671342abe
parent52a884db7e37598248f1eaef4cd1a9434c9faf18
Bug 28204: Fix table highlighting on the items table

Fix table highlighting at
/cgi-bin/koha/cataloguing/additem.pl?biblionumber=XXXX
Every odd row of the table didn't get highlighted with the yellow color
when you tried to edit it previously, this patch fixes that.
That happened because every odd row had different coloring style that
was overwriting yellow highlight.

How to reproduce:
1) Head over to the
/cgi-bin/koha/cataloguing/additem.pl?biblionumber=XXXX,
where XXXX is id of some bilbio record that has more than one
biblio item.
2) Press the "Action" button of the first (or any other odd numbered)
biblion item, and from the dropdown menu select "edit" option.
3) Notice that it doesn't highlight it with yellow color.
4) Now do the same but with second biblio item (or any even numbered
item).
5) Notice that it highlights it with the yellow color.
6) Apply the patch. Do yarn build to compile css.
7) Make sure that every row of the table that you edit gets properly
highlighted with the yellow color.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
JD Amended commit title

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss