Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of https://github.com/pacoweb/ravendb

  • Loading branch information...
commit c46aa731ac8bf78d16b919918d8f7ef582da236f 2 parents 6d8659c + 44972d4
@ayende ayende authored
View
5 Bundles/Raven.Bundles.IndexReplication/IndexReplicationIndexUpdateTrigger.cs
@@ -101,6 +101,11 @@ public override void OnIndexEntryCreated(string entryKey, Document document)
var parameter = cmd.CreateParameter();
parameter.ParameterName = GetParameterName(mapping.Key);
var field = document.GetFieldable(mapping.Key);
+
+ var numericfield = document.GetFieldable(String.Concat(mapping.Key, "_Range"));
+ if (numericfield != null)
+ field = numericfield;
+
if (field == null)
parameter.Value = DBNull.Value;
else if(field is NumericField)
Please sign in to comment.
Something went wrong with that request. Please try again.