Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
a808b02b
Commit
a808b02b
authored
May 06, 2026
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export to distant server: add presta administrator to exported data
parent
5a0fc3ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ExportAndUploadDataCommand.php
src/Command/ExportAndUploadDataCommand.php
+3
-0
PrestataireRepository.php
src/Repository/PrestataireRepository.php
+1
-0
No files found.
src/Command/ExportAndUploadDataCommand.php
View file @
a808b02b
...
...
@@ -91,6 +91,7 @@ class ExportAndUploadDataCommand extends Command
"raison"
=>
$p
->
getRaison
(),
"addresses"
=>
[],
"rubrics"
=>
[],
"administrators"
=>
$p
->
getGestionnairesEmailsArray
(),
];
foreach
(
$p
->
getGeolocs
()
as
$g
)
{
...
...
@@ -139,6 +140,8 @@ class ExportAndUploadDataCommand extends Command
$output
->
writeln
(
'Fichier exporté : '
.
$filePath
);
return
0
;
// 3. Connexion SSH
$sftp
=
new
SFTP
(
$this
->
host
);
...
...
src/Repository/PrestataireRepository.php
View file @
a808b02b
...
...
@@ -345,6 +345,7 @@ class PrestataireRepository extends ServiceEntityRepository
return
$qb
->
leftjoin
(
'p.geolocs'
,
'g'
)
->
leftjoin
(
'p.rubriques'
,
'r'
)
->
leftjoin
(
'p.users'
,
'u'
)
// ->where('p.enabled = :enabled')
// ->andWhere('u.enabled = :userEnabled')
// ->setParameters(['enabled' => true, 'userEnabled' => true])
...
...
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