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

PageFinder cannot sort by FieldtypeOptions subfield #1231

Closed
Toutouwai opened this issue Aug 18, 2020 · 2 comments
Closed

PageFinder cannot sort by FieldtypeOptions subfield #1231

Toutouwai opened this issue Aug 18, 2020 · 2 comments

Comments

@Toutouwai
Copy link

Short description of the issue

This issue is to carry over and expand on an issue in the old PW repo: ryancramerdesign/ProcessWire#2049

Selectable options in a FieldtypeOptions field have some subfields stored in the fieldtype_options database table: "title", "value" and "sort". But it isn't possible to sort results from PageFinder by these subfields:

2020-08-19_094222
2020-08-19_094203
2020-08-19_094401

Related forum topics:
https://processwire.com/talk/topic/1352-sorting-results-of-find-by-admin-order/
https://processwire.com/talk/topic/24168-sorting-pages-by-select-options-title-not-id/

Setup/Environment

  • ProcessWire version: 3.0.164
ryancramerdesign added a commit to processwire/processwire that referenced this issue Sep 18, 2020
…() method. This should also add support for at least some of what was requested in processwire/processwire-issues#1231
@ryancramerdesign
Copy link
Member

@Toutouwai This option should be supported now, per the above referenced commit. Though please let me know if you find otherwise. Thanks.

@Toutouwai
Copy link
Author

Thanks

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

No branches or pull requests

2 participants