Commit d72822dc authored by Sandro Lutz's avatar Sandro Lutz Committed by Sandro Lutz
Browse files

Add study documents sort order (resolves #38)

parent c73f39be
...@@ -10,7 +10,10 @@ import PaginationController from './pagination'; ...@@ -10,7 +10,10 @@ import PaginationController from './pagination';
*/ */
export default class StudydocsController extends PaginationController { export default class StudydocsController extends PaginationController {
constructor(query = {}, additionalQuery = {}) { constructor(query = {}, additionalQuery = {}) {
super('studydocuments', query, additionalQuery); super('studydocuments', query, {
...additionalQuery,
...{ sort: ['lecture', 'type', 'title', 'author'] },
});
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment