Hello all

As many of you may know we are using the element finder in chamilo 2 in a lot of places. On some specific occasions it is possible that the element finder feeds return a lot of elements which makes the javascript of the browser crash. Most of the time this is due to the fact that the system accepts every input (a * for example gives all results, an 'e' gives many results).

I propose to boost the performance of the search boxes with the following solutions:

   * Escape the search field before translating it to the conditions
     (to eliminate the stars beeing translated to % in the patternmatch
     condition)
   * Define a minimum amount of letters that needs to be in the search
     query before the search is beeing executed (for example 3 like
     many websites do)

If accepted i would like to fix it for the element finder (and maybe later for all the action bar search boxes etc).

--
Met vriendelijke groeten

Sven Vanpoucke
Digitaal Leren
Directie Onderwijs
Hogeschool Gent
http://digitaal-leren.hogent.be/

_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev

Reply via email to