I have 2 pages, one called details.page and the other, maps.page

In the first page, I have a declared a search input like so :

```
  <form method="get" id="form-search" data-ajax="true" action="maps.page">
            <input type="search" name="search" id="search" value=""/>
        </form>

```

And in my second page, maps.page, I have one declared like so :

```
  <form action="maps.page">
        <input type="search" name="search" id="search-field" value=""/>
        </form>

```

Now, I was assuming that when I type something in the search bar from my first page and hit enter, the search bar on maps.page would be populated with the value previously entered.

I am correctly redirected, but the search bar is empty. 

What am I doing wrong ?

Thanks in advance for your help.

**EDIT** : Also, I see in the URL that it seems to be working, because I can see what I searched in the URL like this : /maps.page?search=something