Commit f9dd7193 by Bogdan Andjelkovic

brojsoba findall findallbykorisnikid - back

parent 1b9ee90d
...@@ -161,7 +161,7 @@ public class OglasRepository ...@@ -161,7 +161,7 @@ public class OglasRepository
if(!( cenaMin == null || ( cenaMin != null && cenaMin <= oglas.getCena() ) ) ) continue; if(!( cenaMin == null || ( cenaMin != null && cenaMin <= oglas.getCena() ) ) ) continue;
if(!( cenaMax == null || ( cenaMax != null && cenaMax >= oglas.getCena() ) ) ) continue; if(!( cenaMax == null || ( cenaMax != null && cenaMax >= oglas.getCena() ) ) ) continue;
if(!( brojSoba == null || ( brojSoba != null && brojSoba == oglas.getBrojSoba() ) ) ) continue; if(!( brojSoba == null || ( brojSoba != null && brojSoba <= oglas.getBrojSoba() ) ) ) continue;
if(!( kvadraturaMin == null || ( kvadraturaMin != null && kvadraturaMin <= oglas.getKvadratura() ) ) ) continue; if(!( kvadraturaMin == null || ( kvadraturaMin != null && kvadraturaMin <= oglas.getKvadratura() ) ) ) continue;
if(!( kvadraturaMax == null || ( kvadraturaMax != null && kvadraturaMax >= oglas.getKvadratura() ) ) ) continue; if(!( kvadraturaMax == null || ( kvadraturaMax != null && kvadraturaMax >= oglas.getKvadratura() ) ) ) continue;
......
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