Revision 9308
Added by Jing Tao over 9 years ago
src/edu/ucsb/nceas/metacat/IdentifierManager.java | ||
---|---|---|
1971 | 1971 |
logMetacat.debug("list objects count: " + ol.sizeObjectInfoList()); |
1972 | 1972 |
// set the actual count retrieved |
1973 | 1973 |
ol.setCount(ol.sizeObjectInfoList()); |
1974 |
ol.setTotal(total); |
|
1974 |
|
|
1975 | 1975 |
|
1976 | 1976 |
} |
1977 |
|
|
1977 |
ol.setTotal(total); |
|
1978 | 1978 |
} finally { |
1979 | 1979 |
// Return database connection to the pool |
1980 | 1980 |
try { |
Also available in: Unified diff
Fixed a bug that when the count is 0, the total is incorrect in the querySystemMetadata method.