# Project list is empty until a filter is selected

**URL:** <https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945>\
**Category:** SonarQube Server / Community Build\
**Tags:** ui\
**Created:** [January 11, 2023, 11:19am UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945 "2023-01-11T11:19:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckadluba-post](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@ckadluba-post](https://community.sonarsource.com/u/ckadluba-post)\
**Post date:** [January 11, 2023, 11:19am UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/1 "2023-01-11T11:19:57Z")

</div>

I have noticed a problem with the web UI of SonarQube regarding the project list ([https://sonarqube.example.com/projects?sort=name](https://sonarqube.example.com/projects?sort=name)). With default filters the project list is empty (displaying only the text “0 of 0 shown”). Only after a filter is changed (like “sort by name descending” [https://sonarqube.example.com/projects?sort=-name](https://sonarqube.example.com/projects?sort=-name)) all 286 project are displayed in the list.

Environment:

- SonarQube Enterprise Edition Version 9.6.1 (build 59531)
- Firefox 108.0.1 (64-bit), also happens with Google Chrome.
- Windows 11

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 12, 2023, 1:49pm UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/2 "2023-01-12T13:49:12Z")

</div>

Hi,

Welcome to the community and thanks for this report!

Are there any errors in your browse console?

If not, this could be a corrupt Elasticsearch index. The easiest thing to do in that case is

- Shut SoanrQube down
- Delete `$SONARQUBE-HOME/data/es7`
- Restart SonarQube

The indices will be rebuilt automatically.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![ckadluba-post](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@ckadluba-post](https://community.sonarsource.com/u/ckadluba-post)\
**Post date:** [January 16, 2023, 2:26pm UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/3 "2023-01-16T14:26:42Z")

</div>

Thank you for the hint. We will try it out and let you know.

In the browser debug console I can see the following errors.

Some cookies are misusing the recommended “SameSite“ attribute 12  
InstallTrigger is deprecated and will be removed in the future.

---

<div class="post-metadata">

**Author:** ![ckadluba-post](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@ckadluba-post](https://community.sonarsource.com/u/ckadluba-post)\
**Post date:** [February 10, 2023, 11:03am UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/4 "2023-02-10T11:03:25Z")

</div>

After trying the suggested fix and upgrading our SonarQube server to 9.9.0.65466 the problem still exists. ☹

In the browser debug tools I can see that the list of projects is returned by the API. Although no project is shown when sort=name.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [February 10, 2023, 2:56pm UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/6 "2023-02-10T14:56:41Z")

</div>

Hi,

Thanks for checking. I’ve flagged this for more expert eyes.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![kevin.silva](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@kevin.silva](https://community.sonarsource.com/u/kevin.silva)\
**Post date:** [February 20, 2023, 11:14am UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/8 "2023-02-20T11:14:35Z")

</div>

Hello @ckadluba-post

First of all, thank you for your report.  
I was trying to replicate your issue in both versions and couldn’t.  
Could you please share a print copy/paste from the errors you’re getting on your console?  
Are you using any extension (ad block)? And could you please try on incognito mode?

Kevin

---

<div class="post-metadata">

**Author:** ![Slooz](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/slooz/32/61728_2.png) [@Slooz](https://community.sonarsource.com/u/Slooz)\
**Post date:** [September 11, 2024, 5:09pm UTC](https://community.sonarsource.com/t/project-list-is-empty-until-a-filter-is-selected/80945/11 "2024-09-11T17:09:26Z")

</div>

Kevin Silva, I experienced the same issue, but I can confirm that it was resolved with incognito mode.
