Skip to content

Commit

Permalink
Mitgliedssuche nach Vorname (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer committed Sep 8, 2024
1 parent d580dde commit 5855aa8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/de/jost_net/JVerein/Queries/MitgliedQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,10 @@ else if (control.getMitgliedStatus().getValue().equals("Abgemeldet"))
String tmpSuchname = (String) control.getSuchname().getValue();
if (tmpSuchname.length() > 0)
{
addCondition("(lower(name) like ?)");
bedingungen.add(tmpSuchname.toLowerCase() + "%");
tmpSuchname = tmpSuchname.toLowerCase() + "%";
addCondition("(lower(name) like ? or lower(vorname) like ?) ");
bedingungen.add(tmpSuchname);
bedingungen.add(tmpSuchname);
}
}

Expand Down

0 comments on commit 5855aa8

Please sign in to comment.