Skip to content

Commit

Permalink
Changed journal servlet to query on source_id as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jlcanovas committed Sep 21, 2015
1 parent fb858f5 commit a35308a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private JsonObject getAllJournals(String searchString) throws ServletException {
+ " FROM dblp_pub_new"
+ " WHERE source IS NOT NULL AND"
+ " type = 'article' AND "
+ " source LIKE '%" + searchString + "%'"
+ " (source LIKE '%" + searchString + "%' OR source_id LIKE '%" + searchString + "%' ) "
+ " GROUP BY source;";
rs = stmt.executeQuery(query);
answer = prepareAnswer(rs);
Expand Down

0 comments on commit a35308a

Please sign in to comment.