It should already be unique. I tried this

[(search group=test include=test.header)]

and test.header was only listed once in the output as expected.

Can you give me some code to reproduce the error?

Cheers,
Dan


On Tue, Feb 2, 2010 at 5:40 AM, DrunkenMonk <[email protected]> wrote:
> Thank you. I actually got furter whit the issue and found the problem
> was probably not caused where I thought it was, rather there was some
> strange doubles when including a page specifically and letting it be
> included by the group. Perhaps there's some unique flag I'm unaware
> of.
>
> I considered updating this thread to reflect this, but as there was no
> activity I thought I'd just let it die.
>
> On Jan 31, 5:17 pm, The Editor <[email protected]> wrote:
>> I just cut and pasted your code to this page and it seems to be
>> working properly:
>>
>> http://www.boltwire.com/index.php?p=test.toc
>>
>> As for the change to &&, you might try the latest and see if it is
>> still broken. If you are using a standard BOLTF function, I think I
>> have those converted back to && before getting sent off to your custom
>> code. The other option is to add a line like
>>
>> $value = str_replace('&amp;&amp;', '&&', $value);
>>
>> Near the beginning of your custom code. That should get you back to
>> original behavior.
>>
>> Cheers,
>> Dan
>>
>> On Sun, Jan 10, 2010 at 10:59 AM, DrunkenMonk <[email protected]> wrote:
>> > I use:
>>
>> > [(search group={toc} include=styrelsen.kassör,styrelsen.print
>> > fmt="toc")]
>>
>> > and while styrelsen.print is handled corretly, styrelsen.kassör is
>> > included twice when the page is in styrelsen*.
>> > The problem seems to lie in the include list, ei in the core, and not
>> > the {toc} or template.toc.
>>
>> > My theory is that this line:
>>
>> > if (is_array($outarray)) $outarray = array_merge($outarray, explode
>> > (',', $args['include']));
>>
>> > is reached with $outarray and $args['include'] in different encodings.
>> > $outarray is probably still escaped, would be my guess.
>> >  If i'm right, BOLTlistpages returns escaped filenames and not utf8,
>> > which is bad. The line
>> > $list[] = $file;
>> > replaced with:
>> > $list[] = url2utf($file);
>> > Would, to me, make sense.
>>
>> > I'm using an old version of boltwire, since I had problems with my
>> > mysql '&' when I tried to upgrade and couldnt be bothered to rewrite
>> > everything with 'AND's, so I could of course be moaning over nothing.
>>
>> > --
>> > 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 
>> > athttp://groups.google.com/group/boltwire?hl=en.
>
> --
> 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.
>
>

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

Reply via email to