diff options
| author | Kana <[email protected]> | 2021-01-09 00:53:16 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-09 00:53:16 +0900 |
| commit | 01e17ed856c4bf095ca53e899e21c192dad01318 (patch) | |
| tree | 65dffc52d24192ffb2a0b4585bda2e7bc235b73c /src/api/routes/service | |
| parent | feat: use LIKE on queries for case sensitivity issues (diff) | |
| parent | fix: pagination not working when searching (diff) | |
| download | host.fuwn.me-01e17ed856c4bf095ca53e899e21c192dad01318.tar.xz host.fuwn.me-01e17ed856c4bf095ca53e899e21c192dad01318.zip | |
Merge pull request #251 from Zephyrrus/fix/paginate_search
fix: pagination not working when searching & fix: search not working on albums
Diffstat (limited to 'src/api/routes/service')
| -rw-r--r-- | src/api/routes/service/statsGET.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/service/statsGET.js b/src/api/routes/service/statsGET.js index 6d5197b..bcddc9f 100644 --- a/src/api/routes/service/statsGET.js +++ b/src/api/routes/service/statsGET.js @@ -17,8 +17,8 @@ class filesGET extends Route { [category]: { ...dbRes, meta: { - cached: true, - generatedOn: moment().format('MMMM Do YYYY, h:mm:ss a z'), // pg returns this as a date, sqlite3 returns an unix timestamp :< + cached: false, + generatedOn: moment().format('MMMM Do YYYY, h:mm:ss a z'), type: StatsGenerator.Type.HIDDEN } } |