Added some more properties to database querying
Merge branch 'master' of https://github.com/YAMJ/yamj-v3.git