All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
See * **DSpace6** including https://github.com/DSpace/DSpace/pull/1086
This feature is not a part of the DSpace 5 code base.
See
Install https://github.com/DSpace/DSpace/pull/1062
```
var CollReport = function() {
Report.call(this);
var QueryReport = function() {
Report.call(this);
```
TO
```
var CollReport = function() {
Report.call(this);
this.getId = function(obj) {return obj.id;}
var QueryReport = function() {
Report.call(this);
this.getId = function(obj) {return obj.id;}
```
This code also exists at https://github.com/Georgetown-University-Libraries/DSpace/tree/rest-reports-for-5_x
Add the following code into restCollReport.js and restQuery.js to pull the correct id for each DSpace Object
* **DSpace5** See [Using this code with DSpace5](https://github.com/DSpace-Labs/DSpace-REST-Reports/wiki/Using-these-reports-with-DSpace-5)
* Determine the access that you will grant to your REST api since these reporting tools can be configured to run without authentication.
* Update the dspace/config/modules/rest.cfg
* [Enabling Sortable Report Tables](https://github.com/DSpace-Labs/DSpace-REST-Reports/wiki/Enabling-Sortable-Report-Tables)