|
@@ -524,7 +524,7 @@ target to LeUpdateQuery constructor"
|
524
|
524
|
if target_class.initialized:
|
525
|
525
|
self.__leobject_instance_datas = target.datas(True)
|
526
|
526
|
else:
|
527
|
|
- query_filters = [(target._uid[0], '=', str(target.uid()))]
|
|
527
|
+ query_filters = [(target._uid[0], '=', target.uid())]
|
528
|
528
|
|
529
|
529
|
super().__init__(target_class, query_filters)
|
530
|
530
|
|
|
@@ -559,7 +559,7 @@ target to LeUpdateQuery constructor"
|
559
|
559
|
res_data.update(datas)
|
560
|
560
|
res_datas = self._target_class.prepare_datas(
|
561
|
561
|
res_data, True, True)
|
562
|
|
- filters = [(uid_name, '=', str(res_data[uid_name]))]
|
|
562
|
+ filters = [(uid_name, '=', res_data[uid_name])]
|
563
|
563
|
res = self._rw_datasource.update(
|
564
|
564
|
self._target_class, filters, [],
|
565
|
565
|
res_datas)
|