On my local I tried to create a config_page with a field to be used like a entity queue. The field (field_slideshow) is a entity reference that accept multiple entries and I'm using this to create a Slideshow with views.
At views, I create a reference to the config pages using the field_slideshow, and now I want to order the results as it is ordered at the config_pages field_slideshow, using the delta field. The case is that with config_pages the order using field_slideshow will use the field_slideshow reference and the result views will return n^2 results, so if I have 2 entries at field_slideshow, it will return 4 results, for 3 entries, views will show 9 items, etc.
If I do the same with a content type instead of config_pages I get the same results, but using a content type I can use the field_slideshow:delta field without using the relationship to the other content type, (I still need the relationship to filter by) and everything works as expected.

If I'm not clear enough, I can attach some screenshots.

Thanks for this great module!

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Mete created an issue. See original summary.

shumer’s picture

Assigned: Unassigned » shumer

Hello @Mete, we're though about integration ConfigPages with Views module, but it's very tricky task and for now it's not implemented. I'm still thinking if this should/can be developed somehow, but you always can help making patch for this ))

joao sausen’s picture

I tried to, but I don't have enough knowledge with Drupal 8. This also can be a patch to views maybe, since views miss a proper way to order by delta.

joao sausen’s picture

Since this is a problem with views and not with config_pages at all, I created a sandbox project to handle the ordering by delta, it works with config pages. You can see the sandbox project here > https://www.drupal.org/sandbox/mete/2795269

shumer’s picture

Cool, thx!

shumer’s picture

Status: Active » Closed (works as designed)
anybody’s picture

The module from #4 can now be found here:
https://www.drupal.org/project/views_order_by_delta

agoradesign made their first commit to this issue’s fork.