Skip to content
Snippets Groups Projects
Commit 7509fb94 authored by Eduardo L. Buratti's avatar Eduardo L. Buratti
Browse files

web: Fix search field name ('search' -> 'search_school')

parent 2c648270
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ public class ComboOptions implements java.io.Serializable { ...@@ -43,7 +43,7 @@ public class ComboOptions implements java.io.Serializable {
try { try {
PreparedStatement st = conn.prepareStatement( PreparedStatement st = conn.prepareStatement(
"SELECT DISTINCT(cit.region) FROM search s, dim_school sch, dim_city cit " + "SELECT DISTINCT(cit.region) FROM search_school s, dim_school sch, dim_city cit " +
" WHERE s.contacted_once='true' " + " WHERE s.contacted_once='true' " +
" AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.region ASC;" " AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.region ASC;"
); );
...@@ -77,7 +77,7 @@ public class ComboOptions implements java.io.Serializable { ...@@ -77,7 +77,7 @@ public class ComboOptions implements java.io.Serializable {
try { try {
PreparedStatement st = conn.prepareStatement( PreparedStatement st = conn.prepareStatement(
"SELECT DISTINCT(cit.state) FROM search s, dim_school sch, dim_city cit " + "SELECT DISTINCT(cit.state) FROM search_school s, dim_school sch, dim_city cit " +
" WHERE s.contacted_once='true' AND cit.region=? " + " WHERE s.contacted_once='true' AND cit.region=? " +
" AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.state ASC;" " AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.state ASC;"
); );
...@@ -112,7 +112,7 @@ public class ComboOptions implements java.io.Serializable { ...@@ -112,7 +112,7 @@ public class ComboOptions implements java.io.Serializable {
try { try {
PreparedStatement st = conn.prepareStatement( PreparedStatement st = conn.prepareStatement(
"SELECT DISTINCT(cit.id),cit.name FROM search s, dim_school sch, dim_city cit " + "SELECT DISTINCT(cit.id),cit.name FROM search_school s, dim_school sch, dim_city cit " +
" WHERE s.contacted_once='true' AND cit.state=? " + " WHERE s.contacted_once='true' AND cit.state=? " +
" AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.name ASC;" " AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.name ASC;"
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment