- πΊπΈUnited States nicxvan
The 8.1.x branch is no longer supported, if this is still an issue on 2.x please reopen this issue and change the version to 2.1.x-dev
After building views according to the README, the admin page for sorting a content type always renders in alphabetical order (by node title). Re-ordering and saving them works correctly to adjust the weights, but when viewing the admin page, it's alphabetical again.
Turning on SQL Queries in the views preview settings, the query it's showing for the admin page is:
SELECT node_field_data.nid AS nid
FROM
{node_field_data} node_field_data
WHERE (node_field_data.status = '1') AND (node_field_data.type IN ('my_content_type'))
ORDER BY node_field_data.title ASC
The block query is correctly joining the tables:
SELECT draggableviews_structure.weight AS draggableviews_structure_weight, node_field_data.nid AS nid
FROM
{node_field_data} node_field_data
LEFT JOIN {draggableviews_structure} draggableviews_structure ON node_field_data.nid = draggableviews_structure.entity_id
WHERE (node_field_data.status = '1') AND (node_field_data.type IN ('my_content_type'))
ORDER BY draggableviews_structure_weight ASC
Why is the join not happening in the former case?
Closed: outdated
1.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
The 8.1.x branch is no longer supported, if this is still an issue on 2.x please reopen this issue and change the version to 2.1.x-dev