These forums are not for official support. If you are looking for official support please click here.

Welcome guest, please Login or Register

You are here: Home :: Forum Home :: Modules :: Channel Images :: Thread

   

Cover_only (without cover image) looses image_order

Rank
Rank
Rank

Total Posts: 55

Joined 2010-07-18

PM

 

If a user has not selected a cover image and the tag param cover_only=yes
then only is sorted by “cover desc”, this should be “cover desc, image_order asc”
mod.channel_images line 105

$this->EE->db->order_by('cover DESC, image_order ASC'); 

 

Rank
Rank
Rank

Total Posts: 55

Joined 2010-07-18

PM

 

This will then show the first image in the list (image_order) instead of the first image that was uploaded for this entry (image_id)