fix(datasets): sort and humanized modified by (#10380)

* fix(datasets): sort and humanized modified by

* size xl on changed_on_delta_humanized

* Fix, tests

* Fix, tests

* Fix, frontend tests

* remove debug flag
This commit is contained in:
Daniel Vaz Gaspar
2020-07-22 11:34:47 +01:00
committed by GitHub
parent 5f7bb8e7bd
commit 961108625e
4 changed files with 21 additions and 30 deletions

View File

@@ -114,7 +114,7 @@ describe('DatasetList', () => {
const callsD = fetchMock.calls(/dataset\/\?q/);
expect(callsD).toHaveLength(1);
expect(callsD[0][0]).toMatchInlineSnapshot(
`"http://localhost/api/v1/dataset/?q=(order_column:changed_on,order_direction:desc,page:0,page_size:25)"`,
`"http://localhost/api/v1/dataset/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25)"`,
);
});