ORDER BY relevancy DESC

This commit is contained in:
Juan Ferrer Toribio 2017-06-07 16:46:58 +02:00
parent 8b6c765af1
commit d56a4cc025
2 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.405.5) stable; urgency=low hedera-web (1.405.6) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -78,7 +78,7 @@
LEFT JOIN vn_locale.color_view c ON c.color_id = a.Color LEFT JOIN vn_locale.color_view c ON c.color_id = a.Color
LEFT JOIN vn_locale.origin_view o ON o.origin_id = a.id_origen LEFT JOIN vn_locale.origin_view o ON o.origin_id = a.id_origen
WHERE b.available > 0 WHERE b.available > 0
ORDER BY a.relevancy, a.Article, a.Medida ORDER BY a.relevancy DESC, a.Article, a.Medida
LIMIT 400; LIMIT 400;
</custom> </custom>
<sql-batch property="batch" id="filter-batch"> <sql-batch property="batch" id="filter-batch">
@ -366,7 +366,7 @@
<div id="order" class="order"> <div id="order" class="order">
<h2><t>Order by</t></h2> <h2><t>Order by</t></h2>
<select on-change="onOrderChange"> <select on-change="onOrderChange">
<option value="A|relevancy" selected="true"> <option value="D|relevancy" selected="true">
<t>Relevancy</t> <t>Relevancy</t>
</option> </option>
<option value="A|Article"> <option value="A|Article">