You are here

README.txt in Views Merge Rows 8.2

Same filename and directory in other branches
  1. 8 README.txt
  2. 7 README.txt
CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Similar modules
 * Installation
 * Configuration
 * Maintainers


INTRODUCTION
------------

Sometimes when you use relationships in views you get a number of rows with the
same content in some of the fields. This results in a huge table (grid, list,
etc.) that affects the usability of your view.

The Views Merge Rows module provides a way to combine rows with the same content
in the specified fields.


REQUIREMENTS
------------

This module requires the following modules:
 * Views (Core)

Patches from the following issues are required:
 * https://www.drupal.org/project/drupal/issues/2824920
 * https://www.drupal.org/project/drupal/issues/2826755


SIMILAR MODULES
---------------

 * Views Aggregate Plus (https://www.drupal.org/project/views_aggregator):
   includes an Enumerate function. This builds a list of data from rows
   providing exactly the same sort of output as Views Merge Rows when rows are
   merged using the Group and compress function.
   This suffers from a similar pagination problem as Merge Rows, especially
   when a group crosses a paginated boundary.
 * Views Field View (https://www.drupal.org/project/views_field_view):
   allows you to include a subquery for each row in a table and insert the
   result in a field.
   The subquery is driven by tokens for the contextual filtering which allows
   you to create a list of related entities that match the row.
   This doesn't produce a comma delimited list without some styling
   manipulation, but is very flexible.
 * Views Distinct (https://www.drupal.org/project/views_distinct):
   D7 only.


INSTALLATION
------------

 * Install and enable this module like any other drupal 8 module.


CONFIGURATION
-------------

After installing the module you get the "Merge rows" item in the "Advanced"
section of the Views UI.

To configure the row merging click the "Settings" link next to the "Merge rows"
item.

In the configuration dialog you can enable/disable row merging with the
"Merge rows with the same content in the specified fields" checkbox.

You can specify the "Merge option" for each field.

The fields with "Merge option" set to "Use values of this field as a filter" are
used to check which rows should be merged. If several rows contain exactly the
same values in all of these fields, they are merged together. The values for
other fields are calculated as follows:
 * For fields with "Merge option" set to "Use the first value of this field"
   only the value from the first merged rows is used. The values in other rows
   are disregarded.
 * For fields with "Merge option" set to "Merge values of this field" all the
   values appears in the resulting row.


MAINTAINERS
-----------

Current maintainers:
 * Florent Torregrosa (Grimreaper) - https://www.drupal.org/user/2388214

Previous maintainers:
 * Dmitry Kulik (diolan) - https://www.drupal.org/user/2336786
 * Dominique Gagné (dgagne) - https://www.drupal.org/user/3504808

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Similar modules
  6. * Installation
  7. * Configuration
  8. * Maintainers
  9. INTRODUCTION
  10. ------------
  11. Sometimes when you use relationships in views you get a number of rows with the
  12. same content in some of the fields. This results in a huge table (grid, list,
  13. etc.) that affects the usability of your view.
  14. The Views Merge Rows module provides a way to combine rows with the same content
  15. in the specified fields.
  16. REQUIREMENTS
  17. ------------
  18. This module requires the following modules:
  19. * Views (Core)
  20. Patches from the following issues are required:
  21. * https://www.drupal.org/project/drupal/issues/2824920
  22. * https://www.drupal.org/project/drupal/issues/2826755
  23. SIMILAR MODULES
  24. ---------------
  25. * Views Aggregate Plus (https://www.drupal.org/project/views_aggregator):
  26. includes an Enumerate function. This builds a list of data from rows
  27. providing exactly the same sort of output as Views Merge Rows when rows are
  28. merged using the Group and compress function.
  29. This suffers from a similar pagination problem as Merge Rows, especially
  30. when a group crosses a paginated boundary.
  31. * Views Field View (https://www.drupal.org/project/views_field_view):
  32. allows you to include a subquery for each row in a table and insert the
  33. result in a field.
  34. The subquery is driven by tokens for the contextual filtering which allows
  35. you to create a list of related entities that match the row.
  36. This doesn't produce a comma delimited list without some styling
  37. manipulation, but is very flexible.
  38. * Views Distinct (https://www.drupal.org/project/views_distinct):
  39. D7 only.
  40. INSTALLATION
  41. ------------
  42. * Install and enable this module like any other drupal 8 module.
  43. CONFIGURATION
  44. -------------
  45. After installing the module you get the "Merge rows" item in the "Advanced"
  46. section of the Views UI.
  47. To configure the row merging click the "Settings" link next to the "Merge rows"
  48. item.
  49. In the configuration dialog you can enable/disable row merging with the
  50. "Merge rows with the same content in the specified fields" checkbox.
  51. You can specify the "Merge option" for each field.
  52. The fields with "Merge option" set to "Use values of this field as a filter" are
  53. used to check which rows should be merged. If several rows contain exactly the
  54. same values in all of these fields, they are merged together. The values for
  55. other fields are calculated as follows:
  56. * For fields with "Merge option" set to "Use the first value of this field"
  57. only the value from the first merged rows is used. The values in other rows
  58. are disregarded.
  59. * For fields with "Merge option" set to "Merge values of this field" all the
  60. values appears in the resulting row.
  61. MAINTAINERS
  62. -----------
  63. Current maintainers:
  64. * Florent Torregrosa (Grimreaper) - https://www.drupal.org/user/2388214
  65. Previous maintainers:
  66. * Dmitry Kulik (diolan) - https://www.drupal.org/user/2336786
  67. * Dominique Gagné (dgagne) - https://www.drupal.org/user/3504808