Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Automatically order facet parameters in query string to reduce cache permutations.
Order the paramets in the url to be ordered alphabetically.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2995806.patch | 3.47 KB | borisson_ |
Comments
Comment #2
waluigi CreditAttribution: waluigi at Unic commentedI'll give it a shot :)
Comment #3
waluigi CreditAttribution: waluigi at Unic commentedNow it simply sorts the variable $filter_params in QueryString.php using the sort function.
It does not work when using pretty paths. @borisson_ should it be implemented in there as well?
Comment #4
waluigi CreditAttribution: waluigi at Unic commentedI accidentally uploaded the same patch twice, only the name is different.
Sorry for that :)
Comment #5
borisson_Yes, this will be a completely different implementation. Probably in the url plugin they provide, I'm assuming that will harder to write though.
Comment #6
borisson_The tests should be green.
Comment #8
borisson_Committed and pushed, thanks for the help @waluigi!