소장자료 목록에서 원문보기·방문열람신청 둘 다 불가한 자료 제외
isAbleOnline() 및 isAbleReadNow() 모두 false인 항목(디지털 파일 없음 또는 BOOKCASE_ID 미설정 등 이용 불가 자료)을 검색 결과 목록에서 필터링한다. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0e32218347
commit
6ee2c7265e
@ -160,6 +160,11 @@ public class NlibSearchController extends NlibCommonController {
|
||||
operList = collectionService.setDetailInfoForList(searchVO.getResultList(), getMbInfoId(request));
|
||||
}
|
||||
|
||||
// 원문보기·방문열람신청 둘 다 불가한 자료 목록에서 제외
|
||||
operList = operList.stream()
|
||||
.filter(vo -> vo.isAbleOnline() || vo.isAbleReadNow())
|
||||
.collect(java.util.stream.Collectors.toList());
|
||||
|
||||
//결과 데이터 담기
|
||||
searchVO.setResultList(operList);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user