Hi, I reduced the columns number and I tried to add last_seen column, but it does not appear in node view.

our %DEFAULT_COLUMNS = map { $_ => 1 } qw/status mac computername last_ip online last_seen/;

How can I find the correct columns name? I thought to use fields name from db, but, for example, last_seen does not work and furthermore I miss some columns (like as switch port and description).


Thanks a lot


Il 16/01/2019 15:52, Fabrice Durand via PacketFence-users ha scritto:
You can add column or if you want to change the default then you need to edit the code for that:

https://github.com/inverse-inc/packetfence/blob/devel/html/pfappserver/lib/pfappserver/PacketFence/Controller/Node.pm#L52

Regards

Fabrice


Le 19-01-16 à 05 h 14, Matteo De Lazzari via PacketFence-users a écrit :
I mean... When i search for nodes, the view show me a default set of fields (i.e. status, online/offline, MAC Address, etc). I need to change the default set of fields showed.

Thanks

Il 16/01/2019 03:23, Durand fabrice via PacketFence-users ha scritto:
Can you explain more, like what fields you want to see.

Regards

Fabrice


Le 19-01-15 à 10 h 03, Matteo De Lazzari via PacketFence-users a écrit :
Hi to all. Is there a manner to change the default fields showed in nodes view (not only for the current session)?


Thanks, Matteo



_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users



_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to