Bug 40957 - No need to maintain autocomplete compatibility
Summary: No need to maintain autocomplete compatibility
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: ILL (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 35570
Blocks:
  Show dependency treegraph
 
Reported: 2025-10-06 12:49 UTC by Jonathan Druart
Modified: 2025-10-06 12:49 UTC (History)
3 users (show)

See Also:
GIT URL:
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 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.