![]() |
|
1.4.6 - sort type and sort direction - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: 1.4.6 - sort type and sort direction (/thread-11607.html) |
1.4.6 - sort type and sort direction - vincent3569 - 2014-01-28 Quote:[b]Theme changes[/b] [b]Object model sorttype and sortdirection changes[/b] If this is not done then there will be inconsistencies with such things as pagination and content display. 1.4.6 - sort type and sort direction - acrylian - 2014-01-28 Formerly you could set the order etc directly on the next_xxx functions. But that would mean for example the pagination that comes before those function calls does not know about it. So now you need to set any sorting via the object model before calling any functions, e.g. at the beginning of the theme page. Then all "know what to do" when they are used. 1.4.6 - sort type and sort direction - sbillard - 2014-01-28 Of course if you never passed those parameters there is nothing to be concerned with. Usually themes would not supply the parameters. The parameters are still available for transition. However you will get a "deprecated" message if you pass them and have not disabled the message. |