File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/main/java/com/shuzijun/leetcode/plugin/manager Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ public static Question getItem(Question q) {
172
172
JSONObject question = object .getJSONObject (q .getLangSlug ());
173
173
if (Constant .ITEM_TYPE_QUESTION .equals (q .getLangSlug ())){
174
174
q .setQuestionId (question .getString ("questionId" ));
175
+ q .setFrontendQuestionId (question .getString ("questionId" ));
175
176
q .setTitleSlug (question .getString ("titleSlug" ));
176
177
}else {
177
178
q .setNodeType (Constant .NODETYPE_DEF );
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ public String apply(Question question) {
73
73
node .add (new DefaultMutableTreeNode (q ));
74
74
}
75
75
for (String key : filter .keySet ()) {
76
+ if (Constant .FIND_TYPE_CATEGORY .equals (key )){
77
+ continue ;
78
+ }
76
79
DefaultMutableTreeNode filterNode = new DefaultMutableTreeNode (new Question (key ));
77
80
root .add (filterNode );
78
81
addChild (filterNode , filter .get (key ), question );
You can’t perform that action at this time.
0 commit comments