Skip to content

Commit

Permalink
ViewRestController filters: change "attribute" to "field"
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed May 25, 2017
1 parent 90db04a commit d11a3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/metas/ui/web/view/ViewRestController.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public List<JSONViewRow> getByIds(
return JSONViewRow.ofViewRows(result);
}

@GetMapping("/{viewId}/filter/{filterId}/attribute/{parameterName}/typeahead")
@GetMapping("/{viewId}/filter/{filterId}/field/{parameterName}/typeahead")
public JSONLookupValuesList getFilterParameterTypeahead(
@PathVariable(PARAM_WindowId) final String windowId //
, @PathVariable("viewId") final String viewIdStr //
Expand All @@ -243,7 +243,7 @@ public JSONLookupValuesList getFilterParameterTypeahead(
.transform(JSONLookupValuesList::ofLookupValuesList);
}

@GetMapping("/{viewId}/filter/{filterId}/attribute/{parameterName}/dropdown")
@GetMapping("/{viewId}/filter/{filterId}/field/{parameterName}/dropdown")
public JSONLookupValuesList getFilterParameterDropdown(
@PathVariable(PARAM_WindowId) final String windowId //
, @PathVariable("viewId") final String viewIdStr //
Expand Down

0 comments on commit d11a3e0

Please sign in to comment.