Skip to content
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

default item sorting in preferences #162

Open
liomj opened this issue Oct 2, 2022 · 2 comments
Open

default item sorting in preferences #162

liomj opened this issue Oct 2, 2022 · 2 comments

Comments

@liomj
Copy link

liomj commented Oct 2, 2022

It is recommended to create following fields:
- tf_date: for sorting items by date it is necessary to have a field, where date of creation/relevant date is stored
- tf_submitter: for sorting items by submitter it is necessary to have a field, where user of creation is stored
- tf_status: for using e.g. functions for broken items you need a 'Select Status'-field

if this is doable i like to suggest add option item sorting in preferences of generated module if we have the above recommended fields

we can define in modulebuilder parameter list which field can be sort and automatically add it in preferences of our module

@ggoffy
Copy link
Collaborator

ggoffy commented Oct 2, 2022

hi thank you for your suggestion, but I do not think that this make sense:
make preferences for sorting

  • in blocks?
  • for tables in admin area?
  • for index file in user area?
  • for detail file in user area?
  • sorting by one field or multiple fields?
  • ....

IMO this would blow up the module and especially the preferences

@liomj
Copy link
Author

liomj commented Oct 3, 2022

yes maybe next time. I see some module have this option like publisher implementing the sort order of the items throughout the module. module-wide

publisher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants