From 6e8788beb16ab10faa945138c52d363e918fcebc Mon Sep 17 00:00:00 2001 From: Andreas Varotsis Date: Mon, 15 Jul 2024 11:16:21 +0100 Subject: [PATCH] Added site as filter option --- packages/api/src/services/library_item.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/api/src/services/library_item.ts b/packages/api/src/services/library_item.ts index b7c8382023..80df9c562c 100644 --- a/packages/api/src/services/library_item.ts +++ b/packages/api/src/services/library_item.ts @@ -1641,6 +1641,9 @@ export const filterItemEvents = ( return event[key]?.toLowerCase().includes(lowercasedValue) }) } + case 'url': { + return event.originalUrl?.toLowerCase() === lowercasedValue + } case 'includes': { const ids = lowercasedValue.split(',') if (!ids || ids.length === 0) {