Bug 35521 - Errors in main search tab display
Summary: Errors in main search tab display
Status: RESOLVED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: 22.11
Hardware: All All
: P5 - low major (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-08 16:09 UTC by Tomás Cohen Arazi
Modified: 2023-12-08 16:45 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Screenshot (111.84 KB, image/png)
2023-12-08 16:09 UTC, Tomás Cohen Arazi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi 2023-12-08 16:09:02 UTC
Created attachment 159673 [details]
Screenshot

After upgrading to 22.11.12, I'm seeing both the 'catalog' and 'syspref' search boxes. Circling through the tabs hides the cataloguing search and the view is back to normal.

See the screenshot.
Comment 1 Owen Leonard 2023-12-08 16:10:42 UTC
Could it be a browser cache issue?
Comment 2 Tomás Cohen Arazi 2023-12-08 16:15:40 UTC
I couldn't reproduce on my dev environment. Only on a packages install...
Comment 3 Tomás Cohen Arazi 2023-12-08 16:45:08 UTC
Found the cause in IntranetUserJS:

```
/* JS for Koha RoomReservation Plugin
This JS was added automatically by installing the RoomReservation plugin
Please do not modify */
...
  	$(".nav-tabs li:first-child").removeClass("active").attr("aria-expanded", "false");
    $("#circ_search").removeClass("active");
  	$("#catalog_search").addClass("active");
    $(".nav-tabs li:last-child").addClass("active").attr("aria-expanded", "true");
```

Leaving here in case others have the issue.