Only show jobs if they arent deleted
This commit is contained in:
1 parent
1503ed8c5c
commit
cf5dc462f5
1 file changed
+2
-1
@@ -73,7 +73,8 @@ namespace BoredCareers.Services.DatabaseService {
|
|||||||
string command = @"
|
string command = @"
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM JobListing
|
FROM JobListing
|
||||||
WHERE CompanyID = @CompanyID;
|
WHERE IsDeleted = FALSE
|
||||||
|
AND CompanyID = @CompanyID;
|
||||||
";
|
";
|
||||||
|
|
||||||
MySqlCommand cmd = new MySqlCommand(command, connection);
|
MySqlCommand cmd = new MySqlCommand(command, connection);
|
||||||
|
|||||||
Reference in new issue
Block a user