Skip to content

Fix: show mini-ticket dashboard for helpdesk profiles#24757

Open
Rom1-B wants to merge 1 commit into
glpi-project:11.0/bugfixesfrom
Rom1-B:support_45067
Open

Fix: show mini-ticket dashboard for helpdesk profiles#24757
Rom1-B wants to merge 1 commit into
glpi-project:11.0/bugfixesfrom
Rom1-B:support_45067

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

  • It fixes !45067

This restores the behaviour previously provided by the FormCreator plugin.

Self-service/helpdesk profiles now see the mini-ticket dashboard (count boxes) above the ticket list, both on the helpdesk home page and on front/ticket.php.
Three changes make this work: canViewCurrent() grants access to system mini_core dashboards for helpdesk users who hold any ticket read right; the central-only guard in HTMLSearchOutput::showPreSearchDisplay() is removed; and the tickets sector is added to $CFG_GLPI['javascript'] so gridstack.js and its CSS are loaded on front/ticket.php for helpdesk users.

Screenshots (if appropriate):

image

@AdrienClairembault

Copy link
Copy Markdown
Member

Was this discussed with @orthagh?

It's been a while so I am not 100% sure but I think omitting this dashboard for self service users was done on purpose.
I think the issue for us was that most of these widgets are useless for a common self service requester.

There are edge cases (sometimes power users end up as self service like our partners on our own support who can have a lot of tickets for multiple clients), for which we added the ability to display any dashboards on the helpdesk home page (you just need to share a dashboard with the target user).

That's how I remember it, feel free to correct me if I'm wrong :)

@Rom1-B Rom1-B requested a review from orthagh July 3, 2026 07:43
@Rom1-B

Rom1-B commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

I understand; it's true that this isn't relevant for all self-service profiles, but FC used to provide it, so it might be frustrating for those who found it useful. As a temporary solution, could we perhaps add a setting to the profiles to enable or disable it? (It wouldn't be enabled by default)

@Rom1-B

Rom1-B commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

I forwarded Adrien's response to the client. It seems to have satisfied her, so we can either continue or close the case, whichever you prefer; either is fine with me.

@orthagh

orthagh commented Jul 10, 2026

Copy link
Copy Markdown
Member

I'm inclined to let it off, if the current situation is fine for the customer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants