Skip to content

Commit 6d6a2fb

Browse files
committed
adjusted readme
1 parent 30fa30e commit 6d6a2fb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
3737
- [App Background Color Configuration](#app-background-color-configuration)
3838
- [Other Configuration Options](#other-configuration-options)
3939
- [Prevent columns sorting](#prevent-columns-sorting)
40+
- [Custom order in the filter popup](#custom-order-in-the-filter-popup)
4041
- [Running as Express Middleware](#running-as-express-middleware)
4142
- [Deploying Parse Dashboard](#deploying-parse-dashboard)
4243
- [Preparing for Deployment](#preparing-for-deployment)
@@ -294,6 +295,29 @@ You can prevent some columns to be sortable by adding `preventSort` to columnPre
294295
]
295296
```
296297

298+
### Custom order in the filter popup
299+
300+
If you have classes with a lot of columns and you filter them often with the same columns you can sort those columns to the top by extending the `columnPreference` setting with the `filterSortToTop` option:
301+
302+
```json
303+
"apps": [
304+
{
305+
"columnPreference": {
306+
"_User": [
307+
{
308+
"name": "objectId",
309+
"filterSortToTop": true
310+
},
311+
{
312+
"name": "email",
313+
"filterSortToTop": true
314+
}
315+
]
316+
}
317+
}
318+
]
319+
```
320+
297321
# Running as Express Middleware
298322

299323
Instead of starting Parse Dashboard with the CLI, you can also run it as an [express](https://github.com/expressjs/express) middleware.

0 commit comments

Comments
 (0)