fix: Change status=Completed as observers rule instead of Published
This commit is contained in:
@@ -124,7 +124,7 @@ async function findList( user_type, email, query ) {
|
||||
const { page, elements } = getPagination( query );
|
||||
const andFilterList = getAndFilterList( query ) || [];
|
||||
|
||||
andFilterList.push({ "status": "Published" }); // Only when the publication is not in draft or completed.
|
||||
andFilterList.push({ "status": "Completed" }); // Only when the publication is connected to a carrier.
|
||||
andFilterList.push({ "bidder": { "$ne":null } }); // Only when published have a proposal accepted.
|
||||
|
||||
if( user_type == "client" ){
|
||||
|
||||
Reference in New Issue
Block a user