CakeDC/search — pull request #60 by dereuromark (2012-12-03 14:13:18+00:00)
Title: reduce complexity/depth of presetForm and add isSearch variable

reduce complexity/depth of presetForm and add isSearch variable to check if the current request is a filtered search

please tell me if you like the idea and if the variable isSearch would be ok.
I found it useful to know in the view level if there is a search filter set right now (at least one filter is active). this way you can "expand" the search box by default and display a reset link etc.