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

This commit is contained in:
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,