Handler: queryOption: Take default sort order param. History: default descending

Αυτή η υποβολή περιλαμβάνεται σε:
2020-12-31 16:15:36 +01:00
γονέας b9ff4068bd
υποβολή 0c66fdf70d
3 αρχεία άλλαξαν με 13 προσθήκες και 6 διαγραφές

@@ -21,7 +21,7 @@ class Handler
// TODO: may not to find a better place for this method
Permissions effectivePermissions(std::string page);
QueryOption queryOption(const Request &r) const;
QueryOption queryOption(const Request &r, SORT_ORDER defaultSort = ASCENDING) const;
public:
Handler(HandlerConfig &handlersConfig, Template &templ, Database &db, Session &userSession, UrlProvider &provider,