Allow to use other parameter than slug or id by criteria
Change elseif format
Merge pull request #1196 from amenophis/default-parameter

Allow to use other parameter than slug or id by criteria
Fix CS

Refs #1196.