This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Extensions » eZ Find » Firsts results filtered by a class
expandshrink

Firsts results filtered by a class

Firsts results filtered by a class

Monday 02 June 2014 11:45:09 am - 1 reply

Hello

Does anyone know if it's possible to query my firsts results from by specific class with one query.

Search results will looks like this : 

1. Specific class result
2. Specific class result
3. Specific class result
3. Specific class result 

4. Other sorted class result
5. Other sorted class result
6. Other sorted class result
....

 

Thanks 

Wednesday 04 June 2014 6:42:08 am

If 'Specific class name' is either the first or last name when the classes are sorted by name, you could use the sort_by array and sort on class_name, then on other attributes.

Otherwise, I think you may need two fetches.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from