From cf5dc462f595629fee25ee6bf734a436d1aae4a1 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Tue, 5 Aug 2025 19:09:32 -0700 Subject: [PATCH] Only show jobs if they arent deleted --- src/Server/Services/DatabaseService/JobListing.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Server/Services/DatabaseService/JobListing.cs b/src/Server/Services/DatabaseService/JobListing.cs index 18fa04a..f23b28a 100644 --- a/src/Server/Services/DatabaseService/JobListing.cs +++ b/src/Server/Services/DatabaseService/JobListing.cs @@ -73,7 +73,8 @@ namespace BoredCareers.Services.DatabaseService { string command = @" SELECT * FROM JobListing - WHERE CompanyID = @CompanyID; + WHERE IsDeleted = FALSE + AND CompanyID = @CompanyID; "; MySqlCommand cmd = new MySqlCommand(command, connection);