Change record status: 
Project: 
Introduced in branch: 
9.3.x
Introduced in version: 
9.3.0
Description: 

Until now, only Views exposed filters identifiers were configurable. This change allows site builders to configure the exposed sort identifiers. This improves the UI because, now, the query string parameter sort_by can have more nice and meaningful values.

This is an API change, \Drupal\views\Plugin\views\display\DisplayPluginBase::isIdentifierUnique() requires a 3rd parameter string $handler_type.

The new Views sort handler option is configurable only when the sort handler is exposed:

AttachmentSize
views-exposed-sort-identifier.png149.97 KB
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Site templates, recipes and distribution developers