Project

General

Profile

Refactor #7174

Increase delay on autocomplete fields

Added by Tomer Brisker over 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Revision 233eea0b (diff)
Added by Tomer Brisker over 8 years ago

Fixes #7174 - add delay on autocomplete

Revision 728946ac (diff)
Added by Tomer Brisker over 8 years ago

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

Also available in: Atom PDF