working version, fixed bug with all search result list item links having wrong id value