Bug 40957

Summary: No need to maintain autocomplete compatibility
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: ILLAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: lisette, pedro.amorim, tomascohen
Version: unspecified   
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:
Bug Depends on: 35570    
Bug Blocks:    

Description Jonathan Druart 2025-10-06 12:49:12 UTC
136               /* Maintain patron autocomplete compatibility across versions */
137               [% IF koha_version.major <= 22 && koha_version.minor < 11 %]
138               $('#create_form #cardnumber').autocomplete({
139                   source: "/cgi-bin/koha/circ/ysearch.pl",
140                   minLength: 3,
141                   select: function( event, ui ) {
142                       var field = ui.item.cardnumber;
143                       $('#create_form #cardnumber').val(field)
144                       return false;
145                   }
146               })
Comment 1 Jonathan Druart 2025-10-06 12:49:49 UTC
circ/ysearch.pl does no longer exist. Since we now have this backend in core we should remove this code.