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);