From 72c2b8f4a598c228b6d9ab92be825b22e22439ac Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 15 Jan 2019 21:42:41 +0000 Subject: [PATCH] --- devdocs/specs/core-customize-form-fields.txt | 2 +- server/AyaNova/Controllers/FormCustomController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devdocs/specs/core-customize-form-fields.txt b/devdocs/specs/core-customize-form-fields.txt index 5f0d2c29..b7e23fe6 100644 --- a/devdocs/specs/core-customize-form-fields.txt +++ b/devdocs/specs/core-customize-form-fields.txt @@ -51,7 +51,7 @@ UI FEATURE - The ability to customize forms: - Need a FormCustom controller that supports routes for: - - Routes for customization form populating and receiving + - #DONE# Routes for customization form populating and receiving - GET (formkey), gets a FormOptions object that provides the basis for building the form customization view - Also required at the client is the current form customizations if any which can be gotten from the other route for day to day ops below - POST (formkey), accepts a FormCustom object that contains the users customization choices only diff --git a/server/AyaNova/Controllers/FormCustomController.cs b/server/AyaNova/Controllers/FormCustomController.cs index 2ba54473..23dd476d 100644 --- a/server/AyaNova/Controllers/FormCustomController.cs +++ b/server/AyaNova/Controllers/FormCustomController.cs @@ -80,7 +80,7 @@ namespace AyaNova.Api.Controllers //If concurrency token specified then check if ours is newer if (concurrencyToken != null) { - if (o.ConcurrencyToken != concurrencyToken) + if (o.ConcurrencyToken == concurrencyToken) { //returns a code 304 (NOT MODIFIED) return StatusCode(304);