Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLPI-Inventory Field missing in computer view #10918

Closed
2 tasks done
e-novinfo-it opened this issue Mar 8, 2022 · 4 comments
Closed
2 tasks done

GLPI-Inventory Field missing in computer view #10918

e-novinfo-it opened this issue Mar 8, 2022 · 4 comments
Assignees
Labels

Comments

@e-novinfo-it
Copy link

e-novinfo-it commented Mar 8, 2022

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

GLPI 10.0.0-rc2

Bug description

Hello,
In previous version of GLPI 9.5 with Fusion Inventory Plugins.
It was possible to add column and search in computer list view (front/computer.php) directly with the field from the inventory like "Last Inventory".

For more details see attachment.

Do you have the project to add this feature again ?

Thanks in advance best regards

2022-03-08_19-16-06

2022-03-08_19-16-34

Relevant log output

No response

Page URL

front/computer.php

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@e-novinfo-it
Copy link
Author

Hello,
Wow I'm impressed by your reactivity.
I have check your commit and I see you have added a new field in the table GLPI_COMPUTERS, but the field already exist in the table glpi_plugin_glpiinvnetory_inventorycopmputercomputers field : last_fusioninventory_update.
Best regards

@trasher
Copy link
Contributor

trasher commented Mar 9, 2022

As far as I've seen, this table should no longer be used; its data should probably be migrated

orthagh pushed a commit to cconard96/glpi that referenced this issue Mar 9, 2022
glpi-project#10920)

* Add missing last inventory date on computers; fixes glpi-project#10918

* Add also on phones

* Fix tests
@e-novinfo-it
Copy link
Author

Yes you're right, I think the field in the image seems to be stored in the JSON file (I don't find it in the database) do you think that is possible to fill the the field last_inventory_update when the inventory is made ?

https://user-images.githubusercontent.com/98420294/157300500-291d4675-4971-48af-aa44-e5fa9d686ec0.png

@trasher
Copy link
Contributor

trasher commented Mar 9, 2022

fill the the field last_inventory_update when the inventory is made ?

It should already be OK with #10920; glpi-project/glpi-inventory-plugin#64 will take care of data migration from fi plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants