When you open an url with filtered data inside the url, a error will appear in the console which comes from functions.js Due to this, any change made to the…