emptyValue enhancement and default settings handling via Configure() #71

Merged
merged 2 commits into from Apr 28, 2013

Conversation

Projects
None yet
3 participants
Contributor

dereuromark commented Mar 28, 2013

  • default settings handling via Configure()
  • emptyValue default values to allow search for "not any of the below"
  • code fixes and corrections
  • more tests

Configure::read('Search') is quite useful, as you can set (DRY) app wide global settings, while still applying quite different ones throughout the dozens of controllers:

$config['Search'] = array(
'Prg' => array(
    'commonProcess'=>array('paramType' => 'querystring', 'filterEmpty' => true),
    'presetForm' =>array('paramType' => 'querystring')
),
'Searchable' => array(),
);

Let me know what you think about it. I could also split them. Just squashed and rebased as it was quickest.

burzum added a commit that referenced this pull request Apr 28, 2013

Merge pull request #71 from dereuromark/fixed
emptyValue enhancement and default settings handling via Configure()

@burzum burzum merged commit d57194b into CakeDC:develop Apr 28, 2013

Contributor

rchavik commented Apr 29, 2013

👍

@dereuromark dereuromark deleted the dereuromark:fixed branch Jul 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment