aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2018-09-02 17:34:30 +0200
committerKevin Decherf <kevin@kdecherf.com>2018-09-05 18:44:08 +0200
commitb7c5fda512f29c99db69cb090fafb6f79abf6004 (patch)
tree849fced9b205612293991b9091250c9707347697 /tests/Wallabag
parent69b563948de3b293fee47f60bde3f63d512b13c5 (diff)
downloadwallabag-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 'tests/Wallabag')
0 files changed, 0 insertions, 0 deletions