Hello all,
I wanna sort the links to add_date with the newest first in new,cool,category and in search mode.
So i looked in this forum and i modify code in links.pm to this:
$LINKS{build_sort_order_category} = "Add_Date DESC";
$LINKS{build_sort_order_new} = "Add_Date DESC";
$LINKS{build_sort_order_cool} = "Add_Date DESC";
$LINKS{build_sort_order_search} = "Add_Date DESC";
Now start my problems :), it don't work good.
Category pages:
In static mode it sort the links but the highest is below instead of up in the list.
In dynamic mode it sort very strange, low date, high date, low date no logic in it.
When i have a span page (i set it to 50 links on a page) it's different then i told before, how strange :).
New and cool page looks ok but i have tested it enough.
In Search mode:
Sorts very strange, low date, high date, low date no logic in it.
Does any know what is wrong?
Allready thanks.
Regard Startpoint.
I wanna sort the links to add_date with the newest first in new,cool,category and in search mode.
So i looked in this forum and i modify code in links.pm to this:
$LINKS{build_sort_order_category} = "Add_Date DESC";
$LINKS{build_sort_order_new} = "Add_Date DESC";
$LINKS{build_sort_order_cool} = "Add_Date DESC";
$LINKS{build_sort_order_search} = "Add_Date DESC";
Now start my problems :), it don't work good.
Category pages:
In static mode it sort the links but the highest is below instead of up in the list.
In dynamic mode it sort very strange, low date, high date, low date no logic in it.
When i have a span page (i set it to 50 links on a page) it's different then i told before, how strange :).
New and cool page looks ok but i have tested it enough.
In Search mode:
Sorts very strange, low date, high date, low date no logic in it.
Does any know what is wrong?
Allready thanks.
Regard Startpoint.