Bug 36046 - Choose staff interface homepage default action
Summary: Choose staff interface homepage default action
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-08 13:14 UTC by Mirjam Vantieghem
Modified: 2024-09-10 17:45 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirjam Vantieghem 2024-02-08 13:14:27 UTC
Currently the default action for the top search box on the staff interface homepage is "Check out". This makes sense for library staff working at the circulation desk.
However, for libraries using a self-checkout module, that might not be the desirable default action.
We would prefer to have "Search catalog" as default action on the homepage.

Would it be possible to have libraries choose the default action on the homepage?
Comment 1 Katrin Fischer 2024-04-01 16:31:07 UTC
It would probably be possibly to solve this with a little jQuery.
Comment 2 Owen Leonard 2024-04-02 14:19:34 UTC
If you add this to IntranetUserJS it will switch to the catalog search form on any page where the circulation form is active by default:

$(document).ready(function(){
    if( $("#circ_search_panel").length > 0 && $("#circ_search_panel").hasClass("active") ){
        $("#header_search").selectTabByID("#catalog_search_panel");
    }
});
Comment 3 Donna 2024-09-04 18:58:20 UTC
While the jquery is fine for a workaround, it would be really helpful to have the ability to set a default action. We get lots of requests for this.

We are trying to discourage the use of jquery and instead have these functionalities built into Koha.
Comment 4 Angela Berrett 2024-09-10 17:45:29 UTC
 +1
As a non-circulating library we had JQuery built to default to search the catalog.  Being able to set this ourselves would have been great.  After the 24.05 update on our dev system that JQuery did not follow through and now we have to manually change the search every time until that JQuery is added back in.