All Versions


DSpace Documentation


Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This feature is not a part of the DSpace 5 code base.  Please see the following notes to enable a DSpace 5 compatible version of these reports.

  1. Install Install https://github.com/DSpace/DSpace/pull/1062

    1. This code also exists at https://github.com/Georgetown-University-Libraries/DSpace/tree/rest-reports-for-5_x (https://github.com/DSpace/DSpace/pull/1532)

    1568

  2. Change the following code into restCollReport.js and restQuery.js to pull the correct id for each DSpace Object

    Code Block
    languagejs
    titleChange the following in restCollReport.js and restQuery.js
    var CollReport = function() {
    Report.call(this);
    var QueryReport = function() {
    Report.call(this);
    Code Block
    languagejs
    titleChange 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;}