Files
payload/test/query-presets
Jacob Fletcher a675c04c99 fix: respects boolean query preset constraints (#12124)
Returning a boolean value from a constraint-level access control
function does nothing. For example:

```ts
{
  label: 'Noone',
  value: 'noone',
  access: () => false,
},
```

This is because we were only handling query objects, disregarding any
boolean values. The fix is to check if the query is a boolean, and if
so, format a query object to return.
2025-04-16 09:16:43 -04:00
..
2025-03-24 13:16:39 -04:00
2025-03-24 13:16:39 -04:00
2025-03-24 13:16:39 -04:00
2025-03-24 13:16:39 -04:00
2025-03-24 13:16:39 -04:00