mirror of
https://github.com/documenso/documenso.git
synced 2026-08-23 14:52:23 +10:00
fix: stuff
This commit is contained in:
@@ -76,7 +76,7 @@ export const adminFindDocuments = async ({ query, page = 1, perPage = 10 }: Admi
|
||||
// to the text search, mirroring the admin global search.
|
||||
const parsedRecipientId = ZPositiveIntegerSchema.safeParse(recipientQuery);
|
||||
|
||||
if (parsedRecipientId.success) {
|
||||
if (/^\d+$/.test(recipientQuery) && parsedRecipientId.success) {
|
||||
termFilters = {
|
||||
recipients: {
|
||||
some: {
|
||||
|
||||
Reference in New Issue
Block a user