@@ 56-62 (lines=7) @@ | ||
53 | { |
|
54 | // Prepare localized additional field query condition |
|
55 | $condition = new Condition(Condition::DISJUNCTION); |
|
56 | foreach ($fieldIDs as $fieldID => $fieldName) { |
|
57 | $condition->addCondition( |
|
58 | (new Condition()) |
|
59 | ->add(Field::F_PRIMARY, $fieldID) |
|
60 | ->add(Field::F_LOCALIZED, $this->locale) |
|
61 | ); |
|
62 | } |
|
63 | ||
64 | return $condition; |
|
65 | } |
|
@@ 273-279 (lines=7) @@ | ||
270 | ||
271 | // Prepare localized additional field query condition |
|
272 | $condition = new Condition(Condition::DISJUNCTION); |
|
273 | foreach ($localized as $fieldID => $fieldName) { |
|
274 | $condition->addCondition( |
|
275 | (new Condition()) |
|
276 | ->add(Field::F_PRIMARY, $fieldID) |
|
277 | ->add(Field::F_LOCALIZED, $this->locale) |
|
278 | ); |
|
279 | } |
|
280 | ||
281 | // Prepare not localized fields condition |
|
282 | foreach ($notLocalized as $fieldID => $fieldName) { |