Merge pull request #104 from KevinMidboe/misc

Misc
This commit was merged in pull request #104.
This commit is contained in:
2018-07-28 16:15:18 +02:00
committed by GitHub
2 changed files with 15 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ class RequestRepository {
fetchRequestedItemsByStatus: 'SELECT * FROM requests WHERE status IS ? AND type LIKE ? ORDER BY date DESC LIMIT 25 OFFSET ?*25-25',
updateRequestedById: 'UPDATE requests SET status = ? WHERE id is ? AND type is ?',
checkIfIdRequested: 'SELECT * FROM requests WHERE id IS ? AND type IS ?',
userRequests: 'SELECT * FROM requests WHERE requested_by IS ?',
userRequests: 'SELECT * FROM requests WHERE requested_by IS ? ORDER BY date DESC',
};
this.cacheTags = {
search: 'se',