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: search bug in CPG 1.4  (Read 4575 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
search bug in CPG 1.4
« on: October 12, 2004, 07:44:54 am »

Zvi sent this by PM:
Quote from: Zvi
Hello there,

   I am using cpg1.4 on my site, and search was not working. Turned out the reason was my sort seting, which was set to Position Descending. No matching entry in sort_order array in search.inc.php. Below is the right one. As you can see I added pa and PD entries.

Code: [Select]
$sort_array = array('na' => 'filename ASC', 'nd' => 'filename DESC', 'ta'=>'title ASC', 'td'=>'title DESC', 'da' => 'pid ASC', 'dd' => 'pid DESC', 'pa' => 'position ASC', 'pd' => 'position DESC');
Pardon if I was not supposed to send this to you, donno how do you go about bugfixes.
« Last Edit: October 23, 2004, 11:04:50 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: search bug in CPG 1.4
« Reply #1 on: October 23, 2004, 11:01:34 am »

committed to dev cvs

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.