Skip to content

Commit

Permalink
Fix tag search, possibly, in Nahima export
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Nov 26, 2023
1 parent 033d7ed commit ecdfc35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public JSONObject findTagWithName(String name) throws IOException {
JSONObject responseObject = (new JSONArray(response)).getJSONObject(0);
JSONArray tagArray = responseObject.getJSONArray("_tags");
for (int tagIdx = 0; tagIdx < tagArray.length(); ++tagIdx) {
JSONObject tag = tagArray.getJSONObject(tagIdx);
JSONObject tag = tagArray.getJSONObject(tagIdx).getJSONObject("tag");
JSONObject tag_names = tag.getJSONObject("displayname");
Iterator<String> keys = tag_names.keys();
while (keys.hasNext()) {
Expand Down

0 comments on commit ecdfc35

Please sign in to comment.