symfony 1.4 sformextra autocomplete sort order
Posted
by
jdog
on Stack Overflow
See other posts from Stack Overflow
or by jdog
Published on 2012-08-29T00:41:10Z
Indexed on
2012/09/09
21:38 UTC
Read the original article
Hit count: 249
I'm using the jquery autocomplete plugin that comes with the symfony sfFormExtra plugin.
/*
* jQuery Autocomplete plugin 1.1
*
* Copyright (c) 2009 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $
*/
It does seem to sort json results according to the key, but I can't find any mention of sort options in the code.
I would like the results sorted like returned from the server.
How can I achieve this?
© Stack Overflow or respective owner