Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Sort order in "Edit pics"  (Read 4392 times)

0 Members and 1 Guest are viewing this topic.

DanielS

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Sort order in "Edit pics"
« on: July 06, 2004, 12:57:56 pm »

I have a large collection of pics in one album. I want to delete old pics, but the sort order is alphabetical (despite of "By date" in Control Panel"), and I cannot change it. Where can I set sort order on "Edit Pics" page?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sort order in "Edit pics"
« Reply #1 on: July 10, 2004, 04:30:43 pm »

Where can I set sort order on "Edit Pics" page?
Not at all in the user interface, you'll have to look into the code and modify the query.

GauGau
Logged

DanielS

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Sort order in "Edit pics"
« Reply #2 on: July 16, 2004, 06:20:55 pm »

I cannot edit the code, because i'm total newbie in PHP!
Please, tell me, what and wnere should I edit?
I know, that this is in "editpics.php"...

By the way, I can provide you with a good russian translation of Coppermine, that I made for my site. Do you need it?
« Last Edit: July 17, 2004, 11:33:06 am by DanielS »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sort order in "Edit pics"
« Reply #3 on: July 17, 2004, 12:34:05 pm »

By the way, I can provide you with a good russian translation of Coppermine, that I made for my site. Do you need it?
Sure, translations are always welcome. Please refer to http://forum.coppermine-gallery.net/index.php?topic=4623.0 on this issue.

Haven't looked into this in detail, but I think, the code in question is
Code: [Select]
    $sql =  "SELECT * ".
                        "FROM {$CONFIG['TABLE_PICTURES']} ".
                        "WHERE approved = 'NO' ".
                        "ORDER BY pid ".
                        "LIMIT $start, $count";

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.