OSDN Git Service
(root)
/
invent
/
invent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a4e0c8
)
Изменение ошибки определения неучтённого оборудования
author
Dmitry Dobryshin
<dimkainc@mail.ru>
Tue, 12 Jan 2021 05:30:55 +0000
(08:30 +0300)
committer
Dmitry Dobryshin
<dimkainc@mail.ru>
Tue, 12 Jan 2021 05:30:55 +0000
(08:30 +0300)
controllers/ItemsController.php
patch
|
blob
|
history
diff --git
a/controllers/ItemsController.php
b/controllers/ItemsController.php
index
40d6016
..
c09a5d5
100644
(file)
--- a/
controllers/ItemsController.php
+++ b/
controllers/ItemsController.php
@@
-181,7
+181,7
@@
class ItemsController extends Controller
->select('item_id')
->joinWith('status')
->Where([ 'ilike', Status::tableName() . '.name', 'Списано' ])
- ->orWhere( [
'
checked' => 2 ] );
+ ->orWhere( [
Items::tableName() .'.
checked' => 2 ] );
// Получаем список всех предметов/оборудования, кроме списанного
$model = Items::find()