These are chat archives for COCOPi/cockpit

Mar 2015
Vitaliy Shuruta
Mar 24 2015 17:22
I have gallery with images. I've added two string(text) data fields to gallery collection (year and month). I'm trying to get filtered result with images for 2014 year sorted by month. General approach is not working
        cockpit('galleries:get_gallery_by_slug', 'imagearchive', [
            'filter' => ['year' => '2014'],
            'sort'   => ['month' => 1]
Vitaliy Shuruta
Mar 24 2015 17:28
i think because this fields inside 'data' field, but how i can get necessary data