Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-server
Commits
331f9973
Commit
331f9973
authored
Apr 29, 2019
by
François Agneray
Browse files
Fixed bug:
#22
parent
fc19600a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Action/Search/SearchMetaAction.php
View file @
331f9973
...
...
@@ -135,7 +135,7 @@ final class SearchMetaAction
$listOfIds
=
explode
(
';'
,
$queryParams
[
'a'
]);
$attributesSelected
=
array
();
foreach
(
$listOfIds
as
$id
)
{
foreach
(
$listOfIds
as
$id
)
{
$attribute
=
$this
->
getAttribute
(
$dataset
,
(
int
)
$id
);
$attributesSelected
[]
=
array
(
'name'
=>
$attribute
->
getName
(),
...
...
tests/Action/Meta/DatasetListActionTest.php
View file @
331f9973
...
...
@@ -14,7 +14,8 @@ final class DatasetListActionTest extends AbstractActionTestCase
$this
->
action
=
new
\
App\Action\Meta\DatasetListAction
(
new
\
Psr\Log\NullLogger
(),
$this
->
entityManager
,
$this
->
getMockDBALConnectionFactory
()
$this
->
getMockDBALConnectionFactory
(),
base64_decode
(
'r3Q8C7LgIrRcTtI8I6EPzFwrDXJ4adgnGQ9V/pWVI8M='
)
);
}
...
...
Write
Preview
Supports
Markdown
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