1

Is there a way to combine two views with the same fields but different filter and sorting in a way that the results from the first one will be above the second one, but with the pager inherited.

Example:

  • view_1.page_1:

FIELDS

  • field_title
  • field_status

FILTER CRITERIA

  • published

SORT CRITERIA

  • Content: Authored on (desc)

  • view_1.page_2:

FIELDS

  • field_title
  • field_status

FILTER CRITERIA

  • unpublished

SORT CRITERIA

  • Content: Authored on (asc)

The goal is to have a view page that displays 10 items per page with a pager. It should display first the first view with all the articles that are published and sorted DESC by the Authored on date. The second one should be after this one with unpublished articles and Authored on (asc). This view should have just one pager, and once the results from the 1st are finished the results from the 2nd one should come next in the same pager.

I've tried to do an attachment as the second view presented above view_1.page_2 and place it after the second one view_1.page_1, but it does not flow within the view and pager, but just displays the first 10 articles and the second one displays it's 10 articles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.