Commit 7509fb94 authored by Eduardo L. Buratti's avatar Eduardo L. Buratti

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

parent 2c648270
......@@ -43,7 +43,7 @@ public class ComboOptions implements java.io.Serializable {
try {
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' " +
" 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 {
try {
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=? " +
" 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 {
try {
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=? " +
" AND sch.id = s.sch_id AND cit.id = sch.cit_id ORDER BY cit.name ASC;"
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment