[Solved] Correctly build a filter function without DRY issue

I have done what you suggested:

{
"uid": 0,
"id":"marker_0",
"title":"Title One",
"cat":"food"
},
{
"uid": 1,
"id":"marker_1",
"title":"Title Two",
"cat":"food"
},
...

Then changed

<a href="' + curr.uid + '">

You can see full update where I’m upto - http://jsfiddle.net/366hwksh/6/

Seems to do the trick :slight_smile:

What do you think?
And am I right of what I mention above about Recursive Function?

Cheers, Barry