Bug 35521

Summary: Errors in main search tab display
Product: Koha Reporter: Tomás Cohen Arazi (tcohen) <tomascohen>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: tomascohen
Version: 22.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Screenshot

Description Tomás Cohen Arazi (tcohen) 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 (tcohen) 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 (tcohen) 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.