Here is the solution I came up with, stimulated by ideas from you. It
uses page instead of p to be consistent with usual usage... Seems to
work fine.
It will be in the next release. You can upgrade early if you cut and
paste to search.php.
Thanks for your help with this definite improvement.
Cheers,
Dan
elseif (preg_match('/^(p[0-9]{1}|page)\=$/', $field) !=
0) {
$index = substr($field, 1, 1);
foreach ($outarray as $page) {
$tempArray = explode(".", $page);
if ($index == '0') $sortarray[$page] =
count($tempArray);
elseif ($field == 'page=')
$sortarray[$page] =
$tempArray[count($tempArray)-1];
else $sortarray[$page] =
$tempArray[$index - 1];
}
}
On Sun, Sep 7, 2008 at 3:22 PM, jacmgr <[EMAIL PROTECTED]> wrote:
>
> OK, a simple hack, so my immediate problem is resolved. You may try
> to figure out a better way for your next release.
>
> In search.php around line 283, looks like this
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---