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) {
172172 JSONObject question = object .getJSONObject (q .getLangSlug ());
173173 if (Constant .ITEM_TYPE_QUESTION .equals (q .getLangSlug ())){
174174 q .setQuestionId (question .getString ("questionId" ));
175+ q .setFrontendQuestionId (question .getString ("questionId" ));
175176 q .setTitleSlug (question .getString ("titleSlug" ));
176177 }else {
177178 q .setNodeType (Constant .NODETYPE_DEF );
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ public String apply(Question question) {
7373 node .add (new DefaultMutableTreeNode (q ));
7474 }
7575 for (String key : filter .keySet ()) {
76+ if (Constant .FIND_TYPE_CATEGORY .equals (key )){
77+ continue ;
78+ }
7679 DefaultMutableTreeNode filterNode = new DefaultMutableTreeNode (new Question (key ));
7780 root .add (filterNode );
7881 addChild (filterNode , filter .get (key ), question );
You can’t perform that action at this time.
0 commit comments