]> wagnertech.de Git - kivitendo-erp.git/commitdiff
tests: update zu "PartPicker kann auch nach EAN suchen"
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 9 Jan 2018 10:50:28 +0000 (11:50 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 9 Jan 2018 10:50:28 +0000 (11:50 +0100)
t/controllers/helpers/parse_filter.t

index 7fab3da466a778134adb2f945aa91743039310be..bfccf4eda61e6447e9e9929f66ae305f3b069d5f 100644 (file)
@@ -354,10 +354,12 @@ test {
       or => [
         'part.partnumber'  => { ilike => '%term1%' },
         'part.description' => { ilike => '%term1%' },
       or => [
         'part.partnumber'  => { ilike => '%term1%' },
         'part.description' => { ilike => '%term1%' },
+        'part.ean'         => { ilike => '%term1%' },
       ],
       or => [
         'part.partnumber'  => { ilike => '%term2%' },
         'part.description' => { ilike => '%term2%' },
       ],
       or => [
         'part.partnumber'  => { ilike => '%term2%' },
         'part.description' => { ilike => '%term2%' },
+        'part.ean'         => { ilike => '%term2%' },
       ],
     ]
   ],
       ],
     ]
   ],