Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
[GF#33241] Value set tab search failure.
Browse files Browse the repository at this point in the history
[GF#33242] Term Browser: Rel 2.4: No default tabs associates with the contact us page
[GF#33244] Term Browser: Rel 2.4: System is throwing HTTP Status 500 - error on the value sets search
  • Loading branch information
kimong committed Mar 14, 2014
1 parent 021cae0 commit 83ab1d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1253,8 +1253,7 @@ public static void create_vs_tree(HttpServletRequest request, HttpServletRespons

public static void create_vs_tree(HttpServletRequest request, HttpServletResponse response, int view, String vsd_uri) {

String nav_type = (String) request.getParameter("nav_type");
System.out.println("(*) create_vs_tree: " + nav_type);
String nav_type = HTTPUtils.cleanXSS((String) request.getParameter("nav_type"));
request.getSession().setAttribute("vs_nav_type", "valuesets");

request.getSession().removeAttribute("dictionary");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ public boolean hasSubconcepts(String scheme, String version, String code) {

public static HashMap getSubconcepts(String scheme, String version,
String code) {
if (scheme.compareTo("NCI Thesaurus") == 0) {
if (scheme.compareTo("NCI Thesaurus") == 0 || scheme.compareTo("NCI_Thesaurus") == 0) {
return getAssociatedConcepts(scheme, version, code, "subClassOf",
false);
}
Expand Down

0 comments on commit 83ab1d1

Please sign in to comment.