V8-archive: Error while dragging or sorting

Created on 17 Jul 2019  路  3Comments  路  Source: directus/v8-archive

Bug Report

Error while dragging or sorting

Steps to Reproduce

1銆丒nter a collection at will
2銆丼ort or drag as shown锛孲ee it
image

Expected Behavior

Fix it

Technical Details

  • Device: [eg: Desktop]
  • OS: [Windows 10.1809]
  • Web Server: [Nginx:1.17.0]
  • PHP Version: [7.3.6]
  • Database: [5.7.26]
  • API Version: [2.2.2]
  • APP Version: [7.6.2]
  • API and App Install Method: [cloned master branch]
bug

Most helpful comment

Closed in #1138

All 3 comments

@directus/api-team nothing changed on the application side regarding this. I just checked it myself, the application sends {"view_query":{"tabular":{"sort":"-id","fields":"id,section"}}} which is JSON as is required by the API.

It looks like it's trying to validate view_query / view_options when only one of the two is set. EG when posting {"view_options":{"tabular":{"widths":{"note":200,"card_type":200,"section":200,"category":200,"in_takeaway":200,"id":200}}}}, it complains about view_query not being JSON, but it's not there to begin with

Closed in #1138

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cdwmhcc picture cdwmhcc  路  3Comments

metalmarco picture metalmarco  路  3Comments

cdwmhcc picture cdwmhcc  路  3Comments

benhaynes picture benhaynes  路  4Comments

jwkellyiii picture jwkellyiii  路  3Comments