branch feature/ReplaceComboByList updated (e6112d7 -> e0e65e3)
This is an automated email from the git hooks/post-receive script. New change to branch feature/ReplaceComboByList in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from e6112d7 Don't select if the combo conatains only one element new e0e65e3 Improve search The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit e0e65e3849a0dd9d9de10708b5217fe638e5d416 Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Wed Jun 8 16:44:20 2016 +0200 Improve search Summary of changes: .../franciaflex/faxtomail/persistence/entities/ClientTopiaDao.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/ReplaceComboByList in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit e0e65e3849a0dd9d9de10708b5217fe638e5d416 Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Wed Jun 8 16:44:20 2016 +0200 Improve search --- .../franciaflex/faxtomail/persistence/entities/ClientTopiaDao.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faxtomail-persistence/src/main/java/com/franciaflex/faxtomail/persistence/entities/ClientTopiaDao.java b/faxtomail-persistence/src/main/java/com/franciaflex/faxtomail/persistence/entities/ClientTopiaDao.java index 1a9a061..ddc9b2f 100644 --- a/faxtomail-persistence/src/main/java/com/franciaflex/faxtomail/persistence/entities/ClientTopiaDao.java +++ b/faxtomail-persistence/src/main/java/com/franciaflex/faxtomail/persistence/entities/ClientTopiaDao.java @@ -58,8 +58,8 @@ public class ClientTopiaDao extends AbstractClientTopiaDao<Client> { public PaginationResult<Client> search(String company, String codeOrName, PaginationParameter pagination) { String query = "FROM " + Client.class.getName() - + " WHERE (" + Client.PROPERTY_CODE + " LIKE :code OR " - + Client.PROPERTY_NAME + " LIKE :name) AND " + + " WHERE (" + Client.PROPERTY_CODE + " LIKE upper(:code) OR " + + Client.PROPERTY_NAME + " LIKE upper(:name)) AND " + Client.PROPERTY_COMPANY + " = :company"; Map<String, Object> args = new HashMap<>(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm