Skip to content

Commit

Permalink
WindowQuickInputRestController: changed "attribute" to "field"
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed May 25, 2017
1 parent 852c927 commit de5526c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public JSONDocument getById(
return forQuickInputReadonly(quickInputPath, quickInput -> JSONDocument.ofDocument(quickInput.getQuickInputDocument(), newJSONOptions()));
}

@RequestMapping(value = "/{quickInputId}/attribute/{fieldName}/typeahead", method = RequestMethod.GET)
@RequestMapping(value = "/{quickInputId}/field/{fieldName}/typeahead", method = RequestMethod.GET)
public JSONLookupValuesList getFieldTypeaheadValues(
@PathVariable("windowId") final String windowIdStr //
, @PathVariable("documentId") final String documentIdStr //
Expand All @@ -246,7 +246,7 @@ public JSONLookupValuesList getFieldTypeaheadValues(
return forQuickInputReadonly(quickInputPath, quickInput -> quickInput.getFieldTypeaheadValues(fieldName, query));
}

@RequestMapping(value = "/{quickInputId}/attribute/{fieldName}/dropdown", method = RequestMethod.GET)
@RequestMapping(value = "/{quickInputId}/field/{fieldName}/dropdown", method = RequestMethod.GET)
public JSONLookupValuesList getFieldDropdownValues(
@PathVariable("windowId") final String windowIdStr //
, @PathVariable("documentId") final String documentIdStr //
Expand Down

0 comments on commit de5526c

Please sign in to comment.