0

I have created a view where I used

Display a specified number of items | 5 items

And I have 2 sort criterias.

SORT CRITERIA

Add sort criteria

List additional actions Content:

Authored on (desc)

Content: Page Views (desc)

What I want is sort criteria 1 should be applicable on first 3 rendered items, and sort criteria 2 should be applied on next 2 items. So here right now, total 5 items are displaying. From them, I want first 3 items to pass from sort criteria 1 and other 2 items from sort criteria 2.

How this can be achieved?

  • What I want is filter 1 ... and filter 2 I don't see any filters... I only see sorts. Sorting is not the same as filtering. – No Sssweat Apr 18 '17 at 8:51
  • My apologies.. Its all about sort criteria. – Sugandh Khanna Apr 18 '17 at 9:04
1

One of the solutions can be using 2 views and use one view as footer attachment to the other view

View 1 with sort criteria 1 (no of items 3) View 2 with sort criteria 2 (no of items 3)

For View 1 footer, use View 2

  • 1
    Not so fast, what if the #1 in page views also happen to be one of the last 3 authored? You end up with an item being listed twice (duplicate) – No Sssweat Apr 18 '17 at 10:11

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.