diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2018-09-02 17:34:30 +0200 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2018-09-05 18:44:08 +0200 |
commit | b7c5fda512f29c99db69cb090fafb6f79abf6004 (patch) | |
tree | 849fced9b205612293991b9091250c9707347697 /src/Wallabag/ApiBundle | |
parent | 69b563948de3b293fee47f60bde3f63d512b13c5 (diff) | |
download | wallabag-b7c5fda512f29c99db69cb090fafb6f79abf6004.tar.gz wallabag-b7c5fda512f29c99db69cb090fafb6f79abf6004.tar.zst wallabag-b7c5fda512f29c99db69cb090fafb6f79abf6004.zip |
EntryRepository: refactor getBuilderByUser
We refactor getBuilderByUser to separate QueryBuilder getter and the
orderBy(). The previous code of getBuilderByUser() has been moved to
getSortedQueryBuilderByUser(). getBuildByUser() now returns a
QueryBuilder without the call to orderBy().
A new method named sortQueryBuilder() returns a given QueryBuilder with
an orderBy() call using given sort parameters.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'src/Wallabag/ApiBundle')
0 files changed, 0 insertions, 0 deletions