Refactor #7174
Increase delay on autocomplete fields
Difficulty:
trivial
Triaged:
Pull request:
Description
Currently every time a letter is pressed in an auto complete field, an AJAX request is fired causing the server to run 3-4 sql queries.
Adding a small delay will cause the request to be fired only once the user stops typing, saving requests and queries in case the user types in several characters in a row.
Associated revisions
Fixes #7174 - add delay on autocomplete
(cherry picked from commit 233eea0b63d565fd399af36013efeac2947208d1)
History
#1
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Target version set to 1.7.4
- Pull request https://github.com/theforeman/foreman/pull/1703 added
- Pull request deleted (
)
#2
Updated by Dominic Cleal over 8 years ago
- Legacy Backlogs Release (now unused) set to 10
#3
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 233eea0b63d565fd399af36013efeac2947208d1.
Fixes #7174 - add delay on autocomplete