From 91a88ebd8a26157e243b46c98f01fa38e6ecded7 Mon Sep 17 00:00:00 2001 From: esikkala <esko.ikkala@aalto.fi> Date: Thu, 7 Mar 2019 07:24:29 +0200 Subject: [PATCH] Migrations view: remove limit --- src/client/components/Deck.js | 8 ++++---- src/server/sparql/SparqlQueriesManuscripts.js | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/client/components/Deck.js b/src/client/components/Deck.js index f1a18d7e..dffd1c39 100644 --- a/src/client/components/Deck.js +++ b/src/client/components/Deck.js @@ -90,10 +90,10 @@ class Deck extends React.Component { } parseCoordinates = coords => { - if (Array.isArray(coords)) { coords = coords[0]; } - const lat = Array.isArray(coords.lat) ? coords.lat[0] : coords.lat; - const long = Array.isArray(coords.long) ? coords.long[0] : coords.long; - const arr = [ +long, +lat ]; + // if (Array.isArray(coords)) { coords = coords[0]; } + // const lat = Array.isArray(coords.lat) ? coords.lat[0] : coords.lat; + // const long = Array.isArray(coords.long) ? coords.long[0] : coords.long; + const arr = [ +coords.long, +coords.lat ]; return arr; } diff --git a/src/server/sparql/SparqlQueriesManuscripts.js b/src/server/sparql/SparqlQueriesManuscripts.js index 488e98fe..28be89f4 100644 --- a/src/server/sparql/SparqlQueriesManuscripts.js +++ b/src/server/sparql/SparqlQueriesManuscripts.js @@ -103,5 +103,4 @@ export const migrationsQuery = ` filter (?event__date2 > ?event__date) } } - LIMIT 250000 `; -- GitLab