pocketbase / site

PocketBase Site
https://pocketbase.io
MIT License
76 stars 49 forks source link

Error in Collections page #56

Closed vigneshksaithal closed 8 months ago

vigneshksaithal commented 8 months ago
Screenshot 2024-03-03 at 12 28 17 PM

In the above image should author be author.id instead? as it is being checked with @request.auth.id.

ganigeorgiev commented 8 months ago

No. For single relation fields author and author.id is the same because the plain field value (author) contains the id as string (for multuple relation the plain field value is a serialized json array, ex. ["id1","id2"]).