Skip to content

Grouping documents by custom fields does not take effect #1418

Description

@liaham

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions