# Search

The Portal features an upgraded, universal search bar that allows staff to easily search for both Portal links and staff contacts. The search results are displayed on a dedicated results page, offering users the ability to filter and narrow down their findings.

&#x20;Additionally, users can conveniently add Portal links from the search results page to their "**My Favourites**” section. This enhanced search functionality greatly improves the overall user experience on the Staff Portal.

{% tabs %}
{% tab title="Links" %}

<figure><img src="/files/prpbhJ2d0xTIk5JQS0LK" alt=""><figcaption><p>Search Results - Links</p></figcaption></figure>

1. **Portal Link**: Details and folder directory of the portal links will be shown as well
2. **Sorting**: For Links result, user may sort the results by **Relevance** and **Label**
3. **My Favourite**: Add portal links from the search results page to their **My Favourites** section
   {% endtab %}

{% tab title="Contacts" %}

<figure><img src="/files/or3DNd79X7EkPk4EOXpI" alt=""><figcaption><p>Search Results - Contacts</p></figcaption></figure>

1. **Profile Picture**: Profile picture will be shown in Contacts results
2. **Sorting**: For Links result, user may sort the results by **Name** and **Department**
3. **Contacts Info**: Contact's **job title**, **Department/ Faculty**, **phone number**, **email** and **office location** will be shown
   {% endtab %}
   {% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://userguide.hku.hk/staffportal/dashboard/search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
