[Koha-bugs] [Bug 32926] New: Cannot expand or collapse some System preference sections after a search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 15:17:27 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32926

            Bug ID: 32926
           Summary: Cannot expand or collapse some System preference
                    sections after a search
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: a.roussos at dataly.gr
        QA Contact: testopia at bugs.koha-community.org

If you perform a System preferences search for a common word such as
"type" or "log", you then lose the ability to expand or collapse the
sections with names that appear more than once in the results page.
All sections except the first one in each group of duplicates are
affected by this. When you click on the 2nd, 3rd, etc. occurence
of a section, the expand/collapse arrow does change, but in reality
only the section that appears first in the page is actually toggled.

I have created an animated GIF that shows this in action:
https://imgur.com/a/NSslIcV

This affects Koha 20.11.00 or later; `git bisect` tells me that
the relevant commit is 9d890c7636ef1d6ec0a1de2161906fd9f4375e97
from Bug 23410.

To reproduce:
Perform a System preferences search for a common word such as "type"
or "log". In the results page, the "Policy" section will appear more
than once. Now try to expand/collapse any "Policy" section but the
first one. It won't work, only the first "Policy" section is toggled.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list