dnauck / angular-advanced-searchbox

A directive for AngularJS providing a advanced visual search box
http://dnauck.github.io/angular-advanced-searchbox/
MIT License
226 stars 98 forks source link

TypeError: Converting circular structure to JSON #89

Open RZR666 opened 5 years ago

RZR666 commented 5 years ago

Hi,

Has anyone had an luck restoring search parameters from storage?

// Restore $scope.savedSearch = LocalDataService.GetSearchCriteria();

// Save localStorageService.set('search', JSON.stringify(data));

// Get return JSON.parse(localStorageService.get('search'));

TypeError: Converting circular structure to JSON

console logging returns the same data though.