Jarrod Flesch
337f6188da
feat: optionally exclude collection documents from appearing in browse-by-folder ( #12654 )
...
Adds configurations for browse-by-folder document results. This PR
**does NOT** allow for filtering out folders on a per collection basis.
That will be addressed in a future PR 👍
### Disable browse-by-folder all together
```ts
type RootFoldersConfiguration = {
/**
* If true, the browse by folder view will be enabled
*
* @default true
*/
browseByFolder?: boolean
// ...rest of type
}
```
### Remove document types from appearing in the browse by folder view
```ts
type CollectionFoldersConfiguration =
| boolean
| {
/**
* If true, the collection documents will be included in the browse by folder view
*
* @default true
*/
browseByFolder?: boolean
}
```
### Misc
Fixes https://github.com/payloadcms/payload/issues/12631 where adding
folders.collectionOverrides was being set on the client config - it
should be omitted.
Fixes an issue where `baseListFilters` were not being respected.
2025-06-04 13:22:26 -04:00
..
2025-05-15 14:54:26 -04:00
2025-02-28 14:05:39 -05:00
2025-03-04 11:55:36 -05:00
2024-10-04 13:02:56 -06:00
2025-05-19 12:36:40 -03:00
2025-02-13 09:48:13 -05:00
2025-06-04 13:22:26 -04:00
2025-05-23 11:09:15 -04:00
2025-02-13 11:10:57 -05:00
2025-05-22 10:04:45 -04:00
2025-05-22 10:04:45 -04:00
2025-03-10 15:17:58 -04:00
2025-03-12 15:48:20 -04:00
2025-05-28 21:13:22 +00:00
2025-02-20 14:40:29 -05:00
2025-02-13 09:48:13 -05:00
2024-10-04 13:02:56 -06:00
2025-06-03 02:44:52 -07:00
2025-05-16 15:51:57 -04:00
2025-05-22 10:04:45 -04:00
2025-06-04 13:22:26 -04:00
2025-05-22 10:04:45 -04:00
2025-03-17 10:27:21 -04:00
2025-02-13 09:48:13 -05:00
2025-02-13 09:48:13 -05:00
2025-04-03 10:17:19 -03:00
2025-03-12 15:48:20 -04:00
2025-05-22 10:04:45 -04:00
2025-05-22 10:04:45 -04:00
2024-10-04 13:02:56 -06:00
2025-03-04 11:55:36 -05:00
2025-05-22 10:04:45 -04:00
2025-02-13 21:42:52 +00:00
2025-06-03 10:54:51 -07:00
2024-10-04 13:02:56 -06:00
2025-04-02 20:10:20 +00:00
2025-03-21 14:44:49 -04:00
2025-05-30 15:08:55 +00:00
2025-06-04 13:22:26 -04:00
2024-08-21 17:44:34 -04:00
2025-02-19 09:18:37 -05:00
2025-05-22 10:04:45 -04:00
2024-10-04 13:02:56 -06:00
2024-11-15 15:08:06 -05:00
2025-05-05 10:09:26 -04:00
2025-03-13 15:40:10 -04:00
2025-02-24 14:49:52 +00:00
2025-05-22 10:04:45 -04:00
2025-05-22 10:04:45 -04:00
2025-06-04 13:22:26 -04:00
2025-06-04 13:22:26 -04:00
2025-05-22 10:04:45 -04:00
2024-10-04 13:02:56 -06:00
2025-03-12 15:48:20 -04:00
2025-04-16 17:24:10 +00:00
2024-11-11 13:59:05 -05:00
2025-03-04 11:55:36 -05:00
2024-08-19 17:31:36 -04:00
2025-03-12 15:48:20 -04:00
2024-11-25 17:48:16 -05:00
2025-05-22 10:04:45 -04:00
2025-05-22 10:04:45 -04:00
2025-04-16 17:24:10 +00:00
2025-05-22 10:04:45 -04:00
2025-05-22 10:04:45 -04:00
2025-02-17 14:08:23 -05:00
2025-02-13 21:42:52 +00:00
2025-05-27 15:48:51 -04:00
2025-05-22 10:04:45 -04:00
2025-05-14 19:25:32 +00:00
2025-05-02 13:03:51 -04:00
2025-05-19 12:36:40 -03:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-11-11 13:59:05 -05:00
2024-11-19 04:30:21 +00:00
2025-05-16 15:51:57 -04:00
2025-02-17 14:08:23 -05:00
2025-05-16 15:51:57 -04:00
2025-05-22 10:04:45 -04:00
2025-05-22 10:04:45 -04:00
2024-10-04 13:02:56 -06:00
2024-08-21 20:44:04 -04:00
2024-11-11 13:59:05 -05:00
2024-10-04 13:02:56 -06:00
2025-05-21 11:33:14 -07:00
2024-12-02 13:57:59 -05:00
2025-04-01 14:11:11 -04:00
2025-04-01 14:11:11 -04:00
2025-05-16 15:51:57 -04:00
2025-03-04 11:55:36 -05:00
2025-05-22 10:04:45 -04:00
2025-05-23 15:43:39 -04:00
2025-04-07 13:43:25 -04:00
2025-03-18 16:02:23 -06:00
2025-02-10 15:02:53 -05:00
2025-03-12 10:27:24 -04:00
2024-12-20 18:10:34 +00:00
2024-09-06 14:54:39 -04:00
2025-05-22 10:04:45 -04:00
2025-05-30 15:08:55 +00:00
2025-02-17 14:08:23 -05:00
2025-05-28 09:45:22 -04:00
2024-08-29 21:25:50 -04:00
2024-07-22 13:01:52 -04:00
2024-11-19 04:30:21 +00:00