Skip to content

Commit

Permalink
Preserva ordem dos parâmetros passados devido a ordem dos filtros. #2
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusandrade committed Oct 21, 2020
1 parent dc71bd8 commit c0243a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file not shown.
3 changes: 2 additions & 1 deletion src/java/org/bireme/dia/controller/DIAServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.io.*;
import java.net.*;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.regex.Matcher;
Expand Down Expand Up @@ -123,7 +124,7 @@ private void processSearch(HttpServletRequest request, HttpServletResponse respo
String[] facet_field = request.getParameterValues("facet.field");

String queryType = this.identifyQueryType(request);
Map<String,String> queryMap = new HashMap<String,String>();
Map<String,String> queryMap = new LinkedHashMap<String,String>();

queryMap.put("qt", queryType); //set the query type

Expand Down

0 comments on commit c0243a5

Please sign in to comment.