]> _ Git - cubist_cms-back.git/commitdiff
#2810
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Jun 2019 16:33:41 +0000 (18:33 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Jun 2019 16:33:41 +0000 (18:33 +0200)
src/app/Magic/Controllers/CubistMagicControllerTrait.php

index 98fd3aba8f3985ad271a10e8dcf76ffc1cbb5106..9c64cfe662d9019939753a3ee00cbcbc5dff970f 100644 (file)
@@ -56,7 +56,7 @@ trait CubistMagicControllerTrait
 
         $model = $this->getModelInstance();
 
-        $this->crud->addColumn(['name' => $model->getPrimaryKey(), 'type' => 'number', 'label' => "#"]);
+        $this->crud->addColumn(['name' => $model->getPrimaryKey(), 'type' => 'number', 'label' => "#", 'searchLogic' => 'text']);
 
         foreach ($model->getFields() as $field) {
             $this->addField($field);