govCMS / GovCMS8

Current stable release of the main GovCMS8 distribution.
GNU General Public License v2.0
61 stars 58 forks source link

Add Views Natural Sort module to GovCMS8 #415

Open gracechanggao94 opened 4 years ago

gracechanggao94 commented 4 years ago

** What value does this module/package add to GovCMS? Nowadays the normal sort is not smart enough to meet the human need, especially for the large website. It is unreasonable that the sorted result has a bunch of rows on the top just because of the article "A". The Views Natural Sort module gives people another option to sort the result by ignoring articles such as "The" and "A".

** Please provide a brief outline of what this module does. This module provides a views filter using a natural manner to sorts node titles.

** Who does this module benefit: [x] end users [ ] content editors [ ] site builders [ ] themers [ ] developers

** How could you provide/replicate the functionality of this module using alternative methods, eg in your theme? Doing the preprocess function to remove special characters on each field before sorting. This module provides a feature to remove words and symbols on the field in sorting. The preprocess function will take lots of memory especially when the view has thousands of rows.

** If this module styles or alters HTML or JavaScript output, can the functionality be provided via the theme? What alternatives have you considered. As above

** What is the maintenance and support status of the module. Describe the issue queue activity. It is under active maintenance.

** What permissions are needed to utilise the module (and are any new permissions provided by the module)? There are no additional permissions required.

** Does the module modify the database structure and/or store additional metadata on nodes or other entities? If so, why? What are the risks for future updates? Yes. This module needs to create a new table to store compressed titles.

** Is the module designed to capture anonymous user data? No

** Is the output of the module typically fully cacheable? Would the inclusion of this module potentially render pages uncacheable. Not relevant

** What is your assessment of the quality of this module, the contribution history of the module's maintainers, and the uptake of the module within the Drupal community? 3175 sites are using this module and automated tests exist.

** Additional information https://www.drupal.org/project/views_natural_sort

Belhendo commented 4 years ago

Hi Grace

Thank you for the suggestion, a better understanding of the use case for this module would be helpful for us to quantify the value of its use if included in the distribution.

Also we'd need to see more community support before we consider it further. I'll leave this open for further discussion.

thisisalistairsaccount commented 4 years ago

Having used Views Natural Sort in the past, it can provide some great value and solve problems for organising data in Views.

Reviewing the current state of Views Natural Sort, there's current flags on it's currency, with no stable for Drupal 8 at this point and the last update was in 2017.