Score:2

Where is "click sortable" set for a field?

us flag

I am trying to properly fix a bug in D8/9 core which removes the ability for link fields to be "click sortable" in a Views table.

I know I can do a views_data_alter hook to set the field as "click sortable" but I am guessing there is a schema or annotation change I can make to fix this? Anyone have any hints?

Thanks.

Score:3
us flag

I went ahead and used hook_field_views_data_alter and created this patch for core: https://www.drupal.org/project/drupal/issues/3239705.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.