Hi,
Since I upgraded several things do not work in our community.
For example our filter and sort buttons, they don't react on click.
Searching filters
filters on threads
Best Regards,
Silviu
Hi,
Since I upgraded several things do not work in our community.
For example our filter and sort buttons, they don't react on click.
Searching filters
filters on threads
Best Regards,
Silviu
Hi Silviu. Can you please share:
Thanks!
Hi Silviu. The top error actually seems to be from the Site - Banner widget's JavaScript. An error in that widget may be preventing the rest of the page's JS. Is this widget potentially edited? Would it be possible for you to export and share the Site - Banner widget from Administration > Interface > Widgets? If the widget is customized for your theme, please be sure to include the customized version.
Additionally, would it be possible to collect an HTTP trace using a tool like Fiddler? I'm primarily interested in the JavaScript files being served.
Please feel free to share both of these with me via private message if necessary.
I sent you a private message
The site banner is a customized copy of the out-of-the-box banner. There appears to be an error in the customization with the definition of the search filter template. Specifically, line 408 of the widget's content script should probably instead be:
<% if(filters && filters.length > 0) {%> <ul class="navigation-list filter"> <% foreach(filters, function(filter) { %> <% if (filter.key != 'users') { %> <li class="navigation-item"> <a class="type internal-link" href="#" data-key="<%: filter.key %>"><%= filter.name %></a> </li> <% } %> <% }); %> </ul> <% } %>
This could have definitely been responsible for some of the JavaScript errors and non-responsive UI elements you've observed. If you are still seeing these types of behaviors, I'd recommend reviewing other customizations.
Regarding the other errors:
I'd recommend opening a support ticket. After reviewing the diagnostic export, there are errors that seem to point to an issue with configuration and file system permissions, and could potentially impact other parts of the upgrade.
Hi, I have corrected the code and I'm sure to say that the searching now works, but with glitches. The search results autocomplete is very unstable. But the sort and filter button are still unresponsive.
What are the client-side errors now when using the sort/filter buttons? The original error from the first reply would have prevented other possible errors from other customizations.
There are none.
In that case, I still recommend opening a support ticket. It will be difficult to assist without more information. There may be other customizations.