OpenBuildings / jam-tart

Jam Admin Builder
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Fix the label of the date field in the filter #27

Closed sstoyanov7 closed 7 years ago

sstoyanov7 commented 7 years ago

Fix bug displaying humanized label, instead of specified label via ->label("Label text")

For example the date filter field in the code below:

        $filter = Tart::filter($this->request->query())
            ->entries([
                'created_at' => Tart::entry('date', null, function ($collection, $value) {
                    return $collection->where('...');
                })->label('Created date'),
            ]);
hkdobrev commented 7 years ago

@sstoyanov7 Could you also remove the failing hhvm from the build matrix while you're at it? Thanks!

sstoyanov7 commented 7 years ago

@hkdobrev sure, removed hhvm as requested.