Feature #2709

Configurable min length of input for ajax

Added by remi about 3 years ago. Updated over 2 years ago.

Status:Closed Start date:04/05/2011
Priority:Normal Due date:
Assignee:moyo % Done:

100%

Category:Other
Target version:0.83

Description

Only update dropdown when input is enough.

Tested with, in ajax.function.php, in ajaxUpdateItemJsCode

   $out = "if (Ext.get('$toobserve').getValue().length>2) Ext.get('$toupdate').load({

This will avoid to make ajax call, on large DB, for a non significant input value (using with 'a' among 100000 users)


Related issues

blocked by GLPI Documentation - Task #2790: Configurable min length of input for ajax Closed 05/10/2011

Associated revisions

Revision 14384
Added by moyo almost 3 years ago

Configurable min length of input for ajax
fixed #2709

Revision 14633
Added by moyo almost 3 years ago

improve Configurable min length of input for ajax see #2709

History

Updated by moyo almost 3 years ago

  • Assignee set to moyo

Updated by moyo almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r14384.

Updated by moyo over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF