You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-01-18 19:15:29

deadeysky
Member
Registered: 2024-01-18
Posts: 2

Changing the criteria for the reset filters button

Hello,

I have been wanting to fix this for quite some time. In GLPI when one wants to reset the filters to none, GLPI will by default show all of the items in the database. Take printers for example. Resetting the search will show all of the printers regardless of the root entity assuming you are logged in as root. I want to change it though so that it shows only the printers not under the entity "GONE" as we have named it. Is there a specific code snippet written anywhere that governs the use of the reset filters button?

Offline

#2 2024-01-19 14:16:13

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Changing the criteria for the reset filters button

Why not save the search you want as a saved search which can be recalled later and mark it as your default?
https://glpi-user-documentation.readthe … rches.html


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

Board footer

Powered by FluxBB