2024-05-28, 04:55 PM
Hello!
While testing for Omar, I found a bug. When selecting 'ascending' in 'Advanced Search,' the results are only descending. The code in question is:
The fix is (credit to Omar G.):
While testing for Omar, I found a bug. When selecting 'ascending' in 'Advanced Search,' the results are only descending. The code in question is:
<input type="radio" class="radio" name="order" id="order_asc" value="asc" /> <label for="order_asc">{$lang->order_asc}</label><br />
<input type="radio" class="radio" name="order" id="order_desc" value="desc" checked="checked" /> <label for="order_desc">{$lang->order_desc}</label>
The fix is (credit to Omar G.):
<input type="radio" class="radio" name="order" id="order_asc" value="ascending" /> <label for="order_asc">{$lang->order_asc}</label><br />
<input type="radio" class="radio" name="order" id="order_desc" value="descending" checked="checked" /> <label for="order_desc">{$lang->order_desc}</label>