Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291721

Using the module filter on the module list page a module can only be found by system name if the description ends in a dot

$
0
0

Problem

Using the module filter on the module list page a module can only be found by system name if the description ends in a dot or other word boundary separator. This is caused by the fact that we concatenate together the module description and machine name without adding any spaces. Therefore the Regex in Drupal.behaviors.tableFilterByText showModuleRow which uses word boundaries only recognizes the word if the description contains a period to end the sentence and make the machine name its own word.

This is why for example searching for "dblog" works currently but searching for "yoast" doesn't show the Real-Time SEO module in the 8.x-2.0-alpha3 release.

Proposed Solution

Make the showModuleRow slightly more accurate by ensuring the values of the different possible search sources are separated by a space.


Viewing all articles
Browse latest Browse all 291721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>