search bug in CPG 1.4 search bug in CPG 1.4
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

search bug in CPG 1.4

Started by Joachim Müller, October 12, 2004, 07:44:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

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.

$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.

Joachim Müller