-- fixes for dashboard
This commit is contained in:
parent
56d8098a01
commit
1fbee8f0f2
@ -28,7 +28,7 @@ public interface PaperRepository extends JpaRepository<Paper, Integer> {
|
||||
List<Paper> findByIdNotInAndConferencesIsNullAndStatusNot(List<Integer> paperIds, Paper.PaperStatus status);
|
||||
|
||||
@Query("SELECT p FROM Paper p WHERE p.status NOT IN (:statuses)")
|
||||
Page<Paper> findAllWithoutStatuses(Pageable pageable, Paper.PaperStatus... statuses);
|
||||
Page<Paper> findAllWithoutStatuses(Pageable pageable, @Param("statuses") Paper.PaperStatus... statuses);
|
||||
|
||||
@Query("SELECT p FROM Paper p ")
|
||||
Page<Paper> findAll(Pageable pageable);
|
||||
|
@ -25,9 +25,9 @@
|
||||
mounted: function () {
|
||||
var self = this;
|
||||
axiosEx.get(
|
||||
appConfig.paperDashboard,
|
||||
appConfig.paperDashboard + "?offset=0&count=50",
|
||||
function (data) {
|
||||
self.papers = data;
|
||||
self.papers = data.items;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user