Versions Compared

Key

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

...

  1. 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)

  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;}