Explorar o código

Merge pull request #5570 from wangkx/h11062b

HPCC-11062 Set Archived to true in the response of searching archived WU

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=11) %!d(string=hai) anos
pai
achega
9dc800c904
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      esp/services/ws_workunits/ws_workunitsService.cpp

+ 1 - 0
esp/services/ws_workunits/ws_workunitsService.cpp

@@ -2040,6 +2040,7 @@ void doWUQueryFromArchive(IEspContext &context, const char* sashaServerIP, unsig
 
                     Owned<IEspECLWorkunit> info= createECLWorkunit("","");
                     info->setWuid(wuid);
+                    info->setArchived(true);
                     if (notEmpty(wuidArray.item(1)))
                           info->setOwner(wuidArray.item(1));
                     if (notEmpty(wuidArray.item(2)))