Details

    • Type: Improvement
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 10.10.0
    • Labels:
    • Sprint:
    • Accepted:
      Yes

      Description

      The result of an AjaxProxy call action=datamanager.getObjectRecordsForAjaxDataTables returns a result with (depending on the gridview settings) a lot of unneccessary \n and \t characters.

      For example:
      {{
      {
      "iTotalDisplayRecords": 333683,
      "sEcho": "1",
      "aaData": [

      { "fkarticletypes": "Artikel", "fkstatus": "(PR)", "datefrom": "06.10.18 15:20", "pkarticles": 132, "_checkbox": "\r\n\r\n\r\n\t<label>\r\n\t\t<input name=\"id\" type=\"checkbox\" class=\"ace\" value=\"3324615\">\r\n\t\t<span class=\"lbl\"></span>\r\n\t</label>\r\n", "_options": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t<div class=\"action-buttons btn-group\">\r\n\t\t\r\n\t\t\t<a href=\"http://local:8080/admin/datamanager/editRecord/?_sid=CFDF5B60-B7CD-4DD8-9F527CF6C9A3E099&object=articles&id=3324615\" data-context-key=\"e\">\r\n\t\t\t\t<i class=\"fa fa-pencil\"></i>\r\n\t\t\t</a>\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t<a class=\"confirmation-prompt\" data-context-key=\"d\" href=\"http://local:8080/admin/datamanager/deleteRecordAction/?_sid=CFDF5B60-B7CD-4DD8-9F527CF6C9A3E099&csrfToken=72CCEABBC6EE9680BBE0A88D470E2BF4&object=articles&id=3324615\" title=\"articles, '3324615' löschen\">\r\n\t\t\t\t<i class=\"fa fa-trash-o\"></i>\r\n\t\t\t</a>\r\n\t\t\r\n\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t<a class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-cog\"></i></a>\r\n\r\n\t\t\t<ul class=\"dropdown-menu pull-right text-left\">\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t<li>\r\n\t\t\t\t\t<a data-context-key=\"h\" href=\"http://local:8080/admin/datamanager/recordHistory/?_sid=CFDF5B60-B7CD-4DD8-9F527CF6C9A3E099&object=articles&id=3324615\">\r\n\t\t\t\t\t\t<i class=\"fa fa-history\"></i>\r\n\t\t\t\t\t\tHistorie\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</li>\r\n\t\t\t\r\n\t\t\r\n\t\t\t</ul>\r\n\t\t\r\n\t</div>\r\n", "title": "my title" }

      ,...
      }}

      There are a lot of these characters which are absolutely unneccessary for the result.

      It would be more efficient if these characters are removed befor returning the result.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              madmikede Michael Hnat
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: