resolved comment about select WINTER/SUMMER & ADD BOOK WORKING & ADDED ADMIN TO ENDPOINTS
Closes #5 (closed) Comments
- Filter by accreditation year, I am following the practice that is used in the repository of : StudyProgramDetailsRepository. The filter is supposed to work here is my query :
@Query("SELECT sd FROM SubjectDetails sd " + "WHERE (:nameSearch is null OR sd.subject.name ILIKE %:nameSearch%) " + "AND (:accreditationYear is null OR sd.accreditation.year = :accreditationYear)") Page<SubjectDetails> findAllFiltered( @Param("nameSearch") String nameSearch, @Param("accreditationYear") String accreditationYear, Pageable pageable );