Commit 02974da9 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

for search (asxeto..xaxa)

parent 2c80d093
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -716,13 +716,13 @@ public class ProductOfferingRepoService {
          
                    
          // Build the name LIKE clause
          StringJoiner nameJoiner = new StringJoiner(" AND ");
          StringJoiner nameJoiner = new StringJoiner(" OR ");
          for (String term : searchList) {
              nameJoiner.add("p.name LIKE '%" + term + "%'");
          }

          // Build the description LIKE clause
          StringJoiner descriptionJoiner = new StringJoiner(" AND ");
          StringJoiner descriptionJoiner = new StringJoiner(" OR ");
          for (String term : searchList) {
              descriptionJoiner.add("p.description LIKE '%" + term + "%'");
          }
+2 −2
Original line number Diff line number Diff line
@@ -1546,13 +1546,13 @@ public class ServiceSpecificationRepoService {
            
                      
            // Build the name LIKE clause
            StringJoiner nameJoiner = new StringJoiner(" AND ");
            StringJoiner nameJoiner = new StringJoiner(" OR ");
            for (String term : searchList) {
                nameJoiner.add("s.name LIKE '%" + term + "%'");
            }

            // Build the description LIKE clause
            StringJoiner descriptionJoiner = new StringJoiner(" AND ");
            StringJoiner descriptionJoiner = new StringJoiner(" OR ");
            for (String term : searchList) {
                descriptionJoiner.add("s.description LIKE '%" + term + "%'");
            }