fix #594, porting items controller to work with new elasticsearch-model syntax like searches controller does