Fix for crash when selecting Last Change column in device ports view
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* workaround for https://rt.cpan.org/Ticket/Display.html?id=93244
|
||||
* Workaround for https://rt.cpan.org/Ticket/Display.html?id=93244 (ECR)
|
||||
* Fix for crash when selecting Last Change column in device ports view (ECR)
|
||||
|
||||
2.023002 - 2014-02-17
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ sub with_times {
|
||||
->search({},
|
||||
{
|
||||
'+columns' => { lastchange_stamp =>
|
||||
\("to_char(device.last_discover - (device.uptime - lastchange) / 100 * interval '1 second', "
|
||||
\("to_char(device.last_discover - (device.uptime - me.lastchange) / 100 * interval '1 second', "
|
||||
."'YYYY-MM-DD HH24:MI:SS')") },
|
||||
join => 'device',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user