Merging two different type of users in collection

Hi !
I try to apply merge on two collections without success, the “link” field says my function don’t return any pages :

The query :

label: Key(s) Speaker(s)
type: pages
query: kirby.collection('researcher')
subpages: false
image:
  back: white

Into collections/researcher.php

<?php
return function ($site) {
  $externals = $site->kirby()->users(); //->filterBy('role', 'in', ['editor', 'member']);
  $internals = $site->find('researchers')->children();
  return new Pages(array($internals,$externals));
    };

I try with only $internals and this work, so i suppose the users is a special case ? :

<?php
return function ($site) {
  $externals = $site->kirby()->users(); //->filterBy('role', 'in', ['editor', 'member']);
  $internals = $site->find('researchers')->children();
  return new Pages(array($internals));
    };

I also try $site->kirby()->users()->toArray() without success

I miss something ? or perhaps this is not possible?
Thanks !

This returns a Users object .

This returns a Pages object.

You cannot merge them into a Pages object.

You could merge them into a Kirby\Cms\Collection object, then you would have a collection of mixed User and Page objects -

Thanks, i use this :

<?php
return function ($site) {
  $externals = $site->kirby()->users()
  $internals = $site->find('researchers')->children();
  return new Collection(array($internals,$externals));
    };

And obviously i change my query from pages to multiselect :

label: Key(s) Speaker(s)
type: multiselect
options:
  type: query
  query: kirby.collection('researcher') 

Now i try to call this mixed collection into my frontend/layout.
Thanks @texnixe !