You can commit it directly into the branch.
I'll let you do that then.


On Thu, Aug 8, 2013 at 4:44 PM, Gilbert Jeiziner
<notifications@github.com>wrote:

> In src/components/search/SearchDirective.js:
>
> > +               });
> > +             };
> > +
> > +             scope.hasLayer = function(id) {
> > +               var layers = map.getLayers().getArray();
> > +               angular.forEach(layers, function(layer) {
> > +                 if (angular.isDefined(layer.values_.id)) {
> > +                   if (id === layer.values_.id) {
> > +                     return true;
> > +                   }
> > +                 }
> > +               });
> > +               return false;
> > +             };
> > +
> > +             scope.replaceTopicInUrl = function(url) {
>
> In fact, as it is now, topic changes don't work (the first change is
> working ok, but after that, we always search on ech). My commit above (not
> in this branch!) would also fix this.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/geoadmin/mf-geoadmin3/pull/220/files#r5659290>
> .
>