forked from DGNum/gestioCOF
Merge branch 'thubrecht/ordre-consos' into 'master'
Corrige le tri des articles dans K-Psul See merge request klub-dev-ens/gestioCOF!502
This commit is contained in:
commit
6d824a58be
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ $(document).ready(function() {
|
|||
var $after = articles_container.find('#data-category-'+article['category_id']);
|
||||
articles_container
|
||||
.find('.article.data-category-'+article['category_id']).each(function() {
|
||||
if (article['name'].toLowerCase < $('.name', this).text().toLowerCase())
|
||||
if (article['name'].toLowerCase() < $('.name', this).text().toLowerCase())
|
||||
return false;
|
||||
$after = $(this);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue