Author Topic: New images search not sorted like shown in ACP  (Read 4120 times)

0 Members and 1 Guest are viewing this topic.

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
New images search not sorted like shown in ACP
« on: February 16, 2006, 05:06:32 PM »
I have the following problem. I have for example 400 pictures marked as new on my site. When a user clicks on the "Show New Images"
link, he gets the result, but it it sorted by raiting - not by date. How to change this? I try change the setting in the ACP but it still stands the same.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: New images search not sorted like shown in ACP
« Reply #1 on: February 16, 2006, 05:14:02 PM »
4images core does not contain any readings regarding : Show New Images text. Perhaps there's something missing in your request ?

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: New images search not sorted like shown in ACP
« Reply #2 on: February 16, 2006, 05:39:33 PM »
My mistake - i mean "New Images" right next to "Top Images"

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: New images search not sorted like shown in ACP
« Reply #3 on: February 16, 2006, 05:44:10 PM »
Ah ! I see.

Well, from your search.php file,

it says :

Quote

$sql_where_query .= "AND i.image_date >= $new_cutoff ";


it states by image_date already ... as for your ACP's configuration page, look for cutoff option (I don't remember the exact name though).

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: New images search not sorted like shown in ACP
« Reply #4 on: February 16, 2006, 06:06:28 PM »
yes, it was there, but the problem was about the cache system, everything works now. thx