Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Pixel Humain
GoGoCarto
Commits
f5257890
Commit
f5257890
authored
Mar 26, 2019
by
Sebastian Castro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixs updating multiple sources count was not reseted
parent
29ca3f96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CHANGELOG.md
CHANGELOG.md
+1
-0
src/Biopen/GeoDirectoryBundle/Services/ElementImportService.php
...open/GeoDirectoryBundle/Services/ElementImportService.php
+9
-0
No files found.
CHANGELOG.md
View file @
f5257890
v2.3
====
*
BUG: Updating multiple source at one time, count was not reseted
*
FEATURE: Sort sub options by alphabetical order
*
FEATURE: In the map categories menu, display next to each categorie how many elements are available for this category
*
FEATURE: Edit marker popup template
...
...
src/Biopen/GeoDirectoryBundle/Services/ElementImportService.php
View file @
f5257890
...
...
@@ -57,6 +57,15 @@ class ElementImportService
public
function
startImport
(
$import
)
{
$this
->
optionIdsToAddToEachElement
=
[];
$this
->
countElementCreated
=
0
;
$this
->
countElementUpdated
=
0
;
$this
->
countElementNothingToDo
=
0
;
$this
->
countElementErrors
=
0
;
$this
->
elementIdsErrors
=
[];
$this
->
errorsMessages
=
[];
$this
->
errorsCount
=
[];
$import
->
setCurrState
(
ImportState
::
Downloading
);
$import
->
setCurrMessage
(
"Téléchargement des données en cours... Veuillez patienter..."
);
$this
->
em
->
persist
(
$import
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment