-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use select fields where it makes sense #4
base: craft-4
Are you sure you want to change the base?
Conversation
a544801
to
2fa37ab
Compare
self::PROPERTY_PLUGINS => [ | ||
'class' => MultiSelectDb::class, | ||
], | ||
self::PROPERTY_PLUGIN_VERSIONS => [ | ||
'class' => MultiSelectDb::class, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a plugin & plugin versions column.
The plugin column will let you filter by what plugins are installed by site.
But if you ever need to check for specific versions, you can also choose that.
I wish there was a way to do version greater than / less than queries. But I can't think of anything in Notion that would provide that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How sensitive is this to manipulations to the table? It might be possible to use a formula in a manually-created column but would that confuse the plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom columns seem to work fine. As long as their names don't conflict with what's in this list.
self::PROPERTY_PLUGINS => [ | ||
'class' => MultiSelectDb::class, | ||
], | ||
self::PROPERTY_PLUGIN_VERSIONS => [ | ||
'class' => MultiSelectDb::class, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How sensitive is this to manipulations to the table? It might be possible to use a formula in a manually-created column but would that confuse the plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a little over my head, so 👍 since everyone else approved it.
I switched the majority our site properties over to Select and MultiSelect properties.
This makes it so we can more easily filter: