Handler: QueryOptions: Change default to more natural ascending sort

Tá an tiomantas seo le fáil i:
Albert S. 2020-12-29 23:36:07 +01:00
tuismitheoir 821d799e3e
tiomantas b9ff4068bd

Féach ar an gComhad

@ -71,11 +71,8 @@ QueryOption Handler::queryOption(const Request &r) const
result.offset = 0;
}
std::string order = r.get("sort");
if(order == "0")
{
result.order = ASCENDING;
}
else
result.order = ASCENDING;
if(order == "1")
{
result.order = DESCENDING;
}