Home Analyst Portal

how to set default category for portal asset search?

Silas_SulserSilas_Sulser Customer Advanced IT Monkey ✭✭✭

Hi folks

Is there any possibility (code) to set "Work items" as default search category?

After adding the Asset Search App, the search category is automatically being set to "Hardware Asset" which is not very convenient for us, because we more use the workitem search.

On the "custom_InitSearch.js"-file I've seen the line:

customSearchHardwareAsset.initSearch(searchInput);      
 // set Hardware Asset search as default if user is hardware asset manager

Can we change it by editing this line?

Thanks and best regards

Silas

Answers

  • john_doylejohn_doyle Cireson Support Ninja IT Monkey ✭✭✭✭
    Hi @Silas_Sulser  

    Yes, as it is the custom code which is overriding the default behaviour, you can edit the custom code to stop it defaulting to the Hardware Asset option.
Sign In or Register to comment.