@@ -43,7 +43,7 @@ class Grid extends AbstractGrid
43
43
/**
44
44
* @var NotSyncedDataProviderInterface
45
45
*/
46
- private $ idListProvider ;
46
+ private $ notSyncedDataProvider ;
47
47
48
48
/**
49
49
* @param Context $context
@@ -53,7 +53,7 @@ class Grid extends AbstractGrid
53
53
* @param array $joins
54
54
* @param array $columns
55
55
* @param string $connectionName
56
- * @param NotSyncedDataProviderInterface $idListProvider
56
+ * @param NotSyncedDataProviderInterface $notSyncedDataProvider
57
57
*/
58
58
public function __construct (
59
59
Context $ context ,
@@ -63,15 +63,15 @@ public function __construct(
63
63
array $ joins = [],
64
64
array $ columns = [],
65
65
$ connectionName = null ,
66
- NotSyncedDataProviderInterface $ idListProvider = null
66
+ NotSyncedDataProviderInterface $ notSyncedDataProvider = null
67
67
) {
68
68
$ this ->mainTableName = $ mainTableName ;
69
69
$ this ->gridTableName = $ gridTableName ;
70
70
$ this ->orderIdField = $ orderIdField ;
71
71
$ this ->joins = $ joins ;
72
72
$ this ->columns = $ columns ;
73
- $ this ->idListProvider =
74
- $ idListProvider ?: ObjectManager::getInstance ()->get (NotSyncedDataProviderInterface::class);
73
+ $ this ->notSyncedDataProvider =
74
+ $ notSyncedDataProvider ?: ObjectManager::getInstance ()->get (NotSyncedDataProviderInterface::class);
75
75
parent ::__construct ($ context , $ connectionName );
76
76
}
77
77
@@ -111,7 +111,7 @@ public function refreshBySchedule()
111
111
$ select = $ this ->getGridOriginSelect ()
112
112
->where (
113
113
$ this ->mainTableName . '.entity_id IN (?) ' ,
114
- $ this ->idListProvider -> get ($ this ->mainTableName , $ this ->gridTableName )
114
+ $ this ->notSyncedDataProvider -> getIds ($ this ->mainTableName , $ this ->gridTableName )
115
115
);
116
116
117
117
return $ this ->getConnection ()->query (
0 commit comments