Bug 30429

Summary: Empty searchbox when there is one result
Product: Koha Reporter: Séverine Queune <severine.queune>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Séverine Queune 2022-04-01 09:30:24 UTC
When you perform a search that brings a unique result, the searched terms are kept in the search box which can be useful in some cases but when you scan barcode all day, it's quite annoying to delete the previous search before searching the new one.
As the string '&found1=1' is added at the end of url, would it be possible to empty the searchbox in that specific case ?
It saw it was introduced by Bug 23475 that asks precisely for the opposite behaviour and that I sign it, but now we have this in production, I realise it's not ergonomic at all for my colleagues.
Maybe a (new...) syspref to let each library choose the favourite behaviour ?