Fix critical issue with public dataset query
This commit is contained in:
parent
6bc5aaed25
commit
c964af25b5
|
@ -40,3 +40,9 @@ dmp-frontend/.vscode/
|
|||
dmp-frontend/package-lock.json
|
||||
dmp-backend/logging/target/
|
||||
ELK.Docker/shared/data-elk/
|
||||
|
||||
# Eclipse
|
||||
.project
|
||||
.settings/
|
||||
bin/
|
||||
*.classpath
|
||||
|
|
|
@ -291,9 +291,9 @@ public class DashBoardManager {
|
|||
}
|
||||
|
||||
}
|
||||
if (tableRequest.getOrderings().getFields().get(0).contains("publishedAt")) {
|
||||
/*if (tableRequest.getOrderings().getFields().get(0).contains("publishedAt")) {
|
||||
tableRequest.getOrderings().getFields().set(0, tableRequest.getOrderings().getFields().get(0).charAt(0) + "dmp:" + tableRequest.getOrderings().getFields().get(0).substring(1) + "|join|");
|
||||
}
|
||||
}*/
|
||||
PaginationService.applyOrder(datasetList, tableRequest.getOrderings());
|
||||
datasetList.skip(tableRequest.getDatasetOffset()).take(tableRequest.getLength());
|
||||
|
||||
|
|
Loading…
Reference in New Issue