AnsweredAssumed Answered

Additional search (list) filter

Question asked by cdtj Champion on Aug 26, 2015
Latest reply on Aug 27, 2015 by cdtj

Hello team!

I'm trying to create a shorter list of Request Activities but can't achieve it by myself,

something goes wrong.

 

I declared my alg tab on Request form as:

<PDM_MACRO name=tab title="Act Log" height=300 id=alg src="OP=SEARCH+FACTORY=alg+QBE.EQ.call_req_id=$args.persistent_id+KEEP.short_view=1" tooltip="Activity Log">

 

On list_alg I've placed this, between sfStart and sfEnd:

<PDM_IF "$args.KEEP.short_view" == "1"> 
document.write('<INPUT TYPE=hidden ID=ADDL_WHERE_HARDCODE NAME=ADDL_WHERE_HARDCODE VALUE="(type IN (\'CB\', \'ST\', \'INIT\')) AND (internal = 0 OR internal IS NULL)">'); 
<PDM_ELSE>
document.write('<INPUT TYPE=hidden ID=ADDL_WHERE_HARDCODE NAME=ADDL_WHERE_HARDCODE VALUE="(internal = 0 OR internal IS NULL)">');
</PDM_IF>

 

But extended search attributes applies only when I click "Search" button, when I wish it on list loads.

 

Regards,

cdtj

Outcomes