fix: Change status=Completed as observers rule instead of Published

This commit is contained in:
Josepablo C
2025-06-10 21:56:40 -06:00
parent 24a0e1a774
commit 4ea50b0e83
2 changed files with 2 additions and 2 deletions

View File

@@ -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" ){