mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#19634 Fixing DateTime query filter issue
--HG-- branch : 1.x extra : source : c26121abc6098f48c5d24969485c877dc673e0de
This commit is contained in:
@@ -146,7 +146,7 @@ namespace Orchard.Projections.FilterEditors.Forms {
|
||||
max = ApplyDelta(now, formState.MinUnit, Int32.Parse(formState.Min));
|
||||
}
|
||||
else {
|
||||
min = max = ApplyDelta(now, formState.ValueUnit, Int32.Parse(formState.Value));
|
||||
min = max = ApplyDelta(now, Convert.ToString(formState.ValueUnit), Convert.ToInt32(formState.Value));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user