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 2018-05-31 13:51:28

jordi2019
Member
Registered: 2018-05-02
Posts: 6

Search by memory size in assets, computers

Hi everyone!


I haven't been able to search by memory size in assets, computers. I mean, the query shows the memory size of every computer perfectly but I cannot search by size, example: 16GB. It shows nothing. And, exactly the same thing happens with the hard drive size.



Any help would be greatly appreciated smile

Offline

#2 2023-02-28 11:51:25

CDuv
Member
Registered: 2007-04-12
Posts: 102

Re: Search by memory size in assets, computers

To search by quantity of RAM you can use the "Components - Memory" criterion (sadly it only has "is" and "is not" operators, no "less than" nor "greater than") and type in the quantity of RAM in MB wihout the unit.
For example if I want to find computers having exactly 32GB of RAM I can use:

[Components - Memory] [is] [32768]

Last edited by CDuv (2023-02-28 11:51:42)

Offline

#3 2023-03-01 14:16:59

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

Re: Search by memory size in assets, computers

The value input field in the search supports ">" and "<" when using "is" and "is not" operators for numeric fields.

In this case "> 32768" would show everything with more than 32GB of memory.
">= 32768" would show everything with 32GB or more.


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.

Offline

#4 2023-03-03 18:02:52

CDuv
Member
Registered: 2007-04-12
Posts: 102

Re: Search by memory size in assets, computers

Thanks I did not know about this "feature" (tested: works on both v9.5.11 and v10.0.5).

Offline

Board footer

Powered by FluxBB