## {i18n}Manage Saved Search Criteria{/i18n}

{i18n}Saved search criteria are criteria that are particular to your location. For example, you could define criteria that returns all documents in a particular workflow state, or all documents which are considered "common" within your organisation (leave policy, newsletters, etc.) based on a category or fieldset value.{/i18n}

{capture assign=options} {i18n}Advanced Search{/i18n} {i18n}or{/i18n} {i18n}Search Criteria Editor{/i18n} {/capture}

{i18n arg_options=$options}Create a new saved search using #options#.{/i18n}

{if $saved}

## {i18n}Existing Saved Search Criteria{/i18n}

{i18n}Name{/i18n} | {i18n}User{/i18n} | {i18n}Edit{/i18n} | {i18n}Delete{/i18n} | {i18n}Share With All{/i18n} | {i18n}View Results{/i18n}
--- | --- | --- | --- | --- | ---
{foreach item=oSearch from=$saved}

{$oSearch.name|sanitize}

{if $oSearch.username}{$oSearch.username|sanitize}{else}{i18n}All users{/i18n}{/if}

{if ($oSearch.editable || $sysadmin)}{i18n}Edit{/i18n}{/if}

{if ($oSearch.editable || $sysadmin)}{i18n}Delete{/i18n}{/if}

{if $sysadmin} {if !$oSearch.shared} {i18n}Not Shared{/i18n} {else} {i18n}Shared{/i18n} {/if} {else} {if !$oSearch.shared} {i18n}Not Shared{/i18n} {else} {i18n}Shared{/i18n} {/if} {/if}

{i18n}Run Search{/i18n}

{/foreach}

{else}
{i18n}No Saved Searches have been defined.{/i18n}
{/if}