Yes, that's a bug. We're ignoring directories when we shouldn't.

I'll get that fixed.

Thanks
Andy

On 17/04/2013 06:34, Marcus F wrote:
Just tested, and sure enough, I can't use filters with folders.
It's easy to filter the output anyway, but maybe one of the OpenBD devs could shine some light on the filter issue?

On Wednesday, April 17, 2013 12:20:05 AM UTC-5, Manuel Reimer wrote:

    Marcus F schrieb:
    > <cfoutput>
    >     <cfdirectory
    >         directory = "#ExpandPath("books")#"
    >         action = "list"
    >         filter = "*.pdf|*.mobi"
    >         listInfo = "full"
    >         name = "filelist"
    >         sort = "ASC"
    >         type = "file">
    > </cfoutput>
    >     <cfoutput query="filelist">
    >         #name#<br />
    >     </cfoutput>

    Maybe the important difference is, that I tried to list *directories*
    and not files. For example, I want to filter for all directory names
    starting with "test". Then I would use "type="dir"" and a filter like
    "test*". Seems like OpenBD only applies the filter on files and
    doesn't
    match for directories.

    Yours

    Manuel

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.



--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to