bump dependency versions

This commit is contained in:
Yavor Georgiev 2018-02-05 18:52:40 +01:00
parent 1529717577
commit ab02e26092
No known key found for this signature in database
GPG Key ID: 83FC145DA0CCA9C3
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
PACKAGE_NAME=realm-js
VERSION=2.3.0-alpha.3
REALM_CORE_VERSION=5.1.2
REALM_SYNC_VERSION=3.0.0-alpha.2
REALM_CORE_VERSION=5.2.0
REALM_SYNC_VERSION=3.0.0-alpha.3
REALM_OBJECT_SERVER_VERSION=3.0.0-alpha.1

View File

@ -153,10 +153,10 @@ typename T::Object ResultsClass<T>::create_filtered(ContextType ctx, const U &co
auto const &realm = collection.get_realm();
auto const &object_schema = collection.get_object_schema();
parser::Predicate predicate = parser::parse(query_string);
parser::ParserResult result = parser::parse(query_string);
NativeAccessor<T> accessor(ctx, realm, object_schema);
query_builder::ArgumentConverter<ValueType, NativeAccessor<T>> converter(accessor, &args.value[1], args.count - 1);
query_builder::apply_predicate(query, predicate, converter);
query_builder::apply_predicate(query, result.predicate, converter);
return create_instance(ctx, collection.filter(std::move(query)));
}