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

Grouping documents by custom fields does not take effect #1418

Open
liaham opened this issue Jan 12, 2023 · 3 comments
Open

Grouping documents by custom fields does not take effect #1418

liaham opened this issue Jan 12, 2023 · 3 comments

Comments

@liaham
Copy link
Contributor

liaham commented Jan 12, 2023

Hi,
When I select a custom field in the options on top of the documents list in order to group by this field then no grouping takes place.

2023-01-12-group-dms-files-by-custom-field-with-postgres

You can easily reproduce the issue by these steps:

  1. Start Redmine with postgres as database.
  2. Create a DMS custom field (in my case it was a list field) and mark the checkbox 'Used as a filter'.
  3. Navigate into a project with DMS module enabled, upload some files and select a list value for each.
  4. Select the DMS custom field in order to group by its values.
  5. Observe that nothing happend.

This is my environment:

Environment:
  Redmine version                5.0.4.stable
  Ruby version                   2.7.7-p221 (2022-11-24) [x86_64-linux-musl]
  Rails version                  6.1.7
  Environment                    development
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Subversion                     1.14.2
  Mercurial                      6.1.1
  Git                            2.36.3
  Filesystem                     
Redmine plugins:
  advanced_plugin_helper         0.3.0
  redmine_dmsf                   3.0.7

Let me know if you need further information to reproduce the issue.

Best Regards,
Liane

@picman picman added this to the 3.0.8 milestone Jan 12, 2023
@picman picman self-assigned this Jan 19, 2023
@picman
Copy link
Collaborator

picman commented Jan 19, 2023

The feature if grouping hasn't been implemented yet. The error is that the option is available in the user interface.

picman added a commit that referenced this issue Jan 19, 2023
@picman
Copy link
Collaborator

picman commented Jan 19, 2023

I have disabled Group by in the Options. Let's leave its implementation as a feature request.

@picman picman removed the type: bug label Jan 19, 2023
@picman picman removed their assignment Jan 19, 2023
@picman picman removed this from the 3.0.8 milestone Jan 19, 2023
@liaham
Copy link
Contributor Author

liaham commented Jan 19, 2023

Okay, I understand. That's fine by me. Thank you!

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