Library fixes for TSM6

This commit is contained in:
Deon George
2011-06-26 22:47:20 +10:00
parent 9cfd1dc3df
commit fe62c848c4
6 changed files with 9 additions and 169 deletions

View File

@@ -33,7 +33,7 @@ class Model_STGPOOL extends ORMTSM {
if (! isset($result[$inout]))
foreach ($this->VOLUME->find_all() as $vo) {
$state = ($vo->MEDIA->STATE == 'MOUNTABLEINLIB') ? 'in' : 'out';
$state = $vo->MEDIA->inlib() ? 'in' : 'out';
$result[$state][$vo->STATUS][] = $vo;
}