Keystone-classic: Default Filter List option

Created on 24 Nov 2014  路  12Comments  路  Source: keystonejs/keystone-classic

Can you add a default filter option for Lists for the admin ui ,like defaultSort and defaultColumns.

Most helpful comment

@JedWatson @mxstbr @kadosh1000 @zewt112 @ytzvan @koloboid
Has anyone any reference to the code sample for this or any documentation to follow?

All 12 comments

@JedWatson

I think this is a good idea, although it crosses over into some other ideas @jossmac and I have talked about for the Admin UI.

One is to preconfigure 'views' on a list; this could be implemented several ways in the UI, but basically have one or more sets of default columns and filters you can select from (e.g. for Posts you may have "drafts" and "published" as preconfigured views)

Another is to allow user customisation of these views, that's trickier though because we currently assume so little about the User model (which I would like to preserve as much as possible)

The feature we have already implemented for this is the list history, it's quite limited though.

Let's revisit after 0.3.0 because we should sort out the new Filter UI architecture first.

any update? This is useful feature, I was surprised this feature does not exist.
It is basically same issue:
https://github.com/keystonejs/keystone/issues/2568

This is done in 0.4!

@mxstbr Can you please provide us a usage example of that feature?

+1 Is this documented?

Is this feature documented?

@mxstbr any suggestion?

@JedWatson @mxstbr @kadosh1000 @zewt112 @ytzvan @koloboid
Has anyone any reference to the code sample for this or any documentation to follow?

Correct me if I am wrong, but I would say that this is not done.

@mxstbr It seems this may have been closed erroneously. If it's not something Keystone wants to support, that's fine, but the status of this issue is encouraging users to expect it to be implemented, and it is not.

For what it's worth, this looks like it would work in Keystone 4: https://github.com/michaek/keystone/commit/108944edd9bba99e9b6c1b091615261614e35e0d I haven't looked into Keystone 5 at all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarmadsangi picture sarmadsangi  路  5Comments

Twansparant picture Twansparant  路  5Comments

webteckie picture webteckie  路  5Comments

ttsirkia picture ttsirkia  路  4Comments

calebmcelroy picture calebmcelroy  路  3Comments