## {i18n}Saved searches{/i18n}

{i18n}Saved searches are searches which are particular to your location. For example, you could define a search which 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}

{i18n}Create a new saved search{/i18n}

{if $saved_searches}

## {i18n}Existing Searches{/i18n}

{i18n}Search Name{/i18n} | {i18n}User{/i18n} | {i18n}Edit{/i18n} | {i18n}Delete{/i18n} | {i18n}View Results{/i18n}
--- | --- | --- | --- | ---
{foreach item=oSearch from=$saved_searches}
{capture assign=iUserId}{$oSearch->getUserId()}{/capture}
{$oSearch->getName()|sanitize} | {if ($iUserId === '')}Global{else}{$context->_getUserName($iUserId)}{/if} | {i18n}Edit{/i18n} | {i18n}Delete{/i18n} | getId()}">{i18n}Run Search{/i18n}
{/foreach}

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