fix #2585 suport l10ned label
This commit is contained in:
parent
e23829e80e
commit
0c860aca32
1 changed files with 2 additions and 1 deletions
|
@ -414,7 +414,8 @@ public class JsonApiManager extends BaseJsonApiManager {
|
|||
Exception err = null;
|
||||
final StringBuilder buf = new StringBuilder(255); // TODO replace response stream
|
||||
try {
|
||||
final List<Map<String, String>> labelTypeItems = labelTypeHelper.getLabelTypeItemList(SearchRequestType.JSON);
|
||||
final List<Map<String, String>> labelTypeItems = labelTypeHelper.getLabelTypeItemList(SearchRequestType.JSON,
|
||||
request.getLocale() == null ? Locale.ROOT : request.getLocale());
|
||||
buf.append("\"record_count\":");
|
||||
buf.append(labelTypeItems.size());
|
||||
if (!labelTypeItems.isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue