Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4211,7 +4211,7 @@ public JSONArray getLanguage() {
@SuppressWarnings("unused")
public int getTotalFamily() {
@Language("SQL")
String FamilyQuery = "SELECT count(1) Families FROM tblfamilies WHERE isoffline = 1 OR isoffline = 0"; // WHERE isoffline = 1 OR isoffline = 0
String FamilyQuery = "SELECT count(1) Families FROM tblfamilies WHERE isOffline = 1 or isOffline = 0 or isOffline = \"false\" or isOffline = \"true\""; // WHERE isoffline = 1 OR isoffline = 0
Copy link
Member

@delcroip delcroip Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the point of the where clause in the select ? do you just want to filter out "isoffline is null" ?

JSONArray Families = sqlHandler.getResult(FamilyQuery, null);
JSONObject object = null;
int TotalFamilies = 0;
Expand Down