https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41792 --- Comment #2 from Michael Mundet <michael.mundet@gmail.com> --- Created attachment 211635 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211635&action=edit Bug 41792: Exclude the empty circulation rule row from the count The circulation and fine rules table counts the empty edit row, so the DataTables info text is always one higher than the number of saved rules. Leave the row in place and exclude it from the info text. This is my first patch. Test plan: 1. Go to Administration > Circulation and fine rules. 2. With one saved rule, note that the info text counts the empty row too. 3. Apply the patch and restart Plack. 4. The info text counts only the saved rule, for example "Showing 1 to 1 of 1 entries". 5. The empty row remains visible at the bottom of the table. 6. Edit a saved rule and confirm its values are copied into the empty row. Assisted-by: Grok 4.7 (SpaceXAI) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.