Forum OpenACS Development: Re: RFC: registering filters ...

Collapse
Posted by Jeff Davis on
If you do this you will lose the "priority sorting" that the init script does. Here is the comment from request-processor-init.tcl:
    # This lsort is what makes the priority stuff work. It guarantees
    # that filters are registered in order of priority. AOLServer will
    # then run the filters in the order they were registered.
    set filters [lsort -integer -index 0 $filters]
    nsv_set rp_filters . $filters
filter_index is used in the display page (in the monitoring package iirc) I think...

I am not sure the priority sorting is necessary so maybe it doesn't matter.