mirror of
https://github.com/documenso/documenso.git
synced 2026-08-24 23:32:29 +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.
|
// to the text search, mirroring the admin global search.
|
||||||
const parsedRecipientId = ZPositiveIntegerSchema.safeParse(recipientQuery);
|
const parsedRecipientId = ZPositiveIntegerSchema.safeParse(recipientQuery);
|
||||||
|
|
||||||
if (parsedRecipientId.success) {
|
if (/^\d+$/.test(recipientQuery) && parsedRecipientId.success) {
|
||||||
termFilters = {
|
termFilters = {
|
||||||
recipients: {
|
recipients: {
|
||||||
some: {
|
some: {
|
||||||
|
|||||||
Reference in New Issue
Block a user