Search ascending/descending is wrong, only does descending
#1
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:
<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>
Reply
#2
https://github.com/mybb/mybb/issues/4819
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#3
Thank you. Forgot about that.
Reply
#4
Hi,

You did follow the expected report process, after which we run a custom moderation tool that copies the report over to Github.

However, the tool is not working properly so I had to post the Github link manually above, so people are aware about it.

Thank you for your report !

Regards.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)