Corrige le tri des articles dans K-Psul

This commit is contained in:
Tom Hubrecht 2021-10-12 15:57:09 +02:00
parent df180d7446
commit 20880114aa

View file

@ -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);
});