Skip to content

Commit 55f546e

Browse files
committed
Bump version to 1.1.8 and update column filters to use LOWER() for case-insensitive matching
1 parent 3cd7df9 commit 55f546e

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

backend/routes/stats.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ const filterFields = [
5050
{ field: "Id", column: "Id", isColumn: true },
5151
{ field: "IsPaused", column: "IsPaused", isColumn: true },
5252
{ field: "UserId", column: "UserId", isColumn: true },
53-
{ field: "UserName", column: "UserName", isColumn: true },
54-
{ field: "Client", column: "Client", isColumn: true },
55-
{ field: "DeviceName", column: "DeviceName", isColumn: true },
53+
{ field: "UserName", column: `LOWER(a."UserName")` },
54+
{ field: "Client", column: `LOWER(a."Client")` },
55+
{ field: "DeviceName", column: `LOWER(a."DeviceName")` },
5656
{ field: "DeviceId", column: "DeviceId", isColumn: true },
5757
{ field: "ApplicationVersion", column: "ApplicationVersion", isColumn: true },
5858
{ field: "NowPlayingItemId", column: "NowPlayingItemId", isColumn: true },
59-
{ field: "NowPlayingItemName", column: "NowPlayingItemName", isColumn: true },
59+
{ field: "NowPlayingItemName", column: `LOWER(a."NowPlayingItemName")` },
6060
{ field: "SeasonId", column: "SeasonId", isColumn: true },
61-
{ field: "SeriesName", column: "SeriesName", isColumn: true },
61+
{ field: "SeriesName", column: `LOWER(a."SeriesName")` },
6262
{ field: "EpisodeId", column: "EpisodeId", isColumn: true },
6363
{ field: "PlaybackDuration", column: "PlaybackDuration", isColumn: true },
6464
{ field: "ActivityDateInserted", column: "ActivityDateInserted", isColumn: true },

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jfstat",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"private": true,
55
"main": "src/index.jsx",
66
"scripts": {

0 commit comments

Comments
 (0)