It is where I display the search results. So, in some of the results it will list say 10 results found and in say the Contact Us result, it will have that error contained in the result body.
It turns out the issue is with the macro partial and not the ezSearch. The Umbraco Forms partial got corrupted somehow when I updated the package. Sorry for taking up your time.
Exclude Macro Partial Views in Search Results
In my search results, I'm getting an error in the bodyText returned for some of the results that have macro partials in them:
Error loading Partial View script (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml)
Does anyone know how to exclude this from the search results?
Can you post some code on how you are displaying your search results ?
Dave
Hi Dave,
Here is the markup in my Razor template page. Very basic. I'm using the default ezSearch.cshtml partial view to display the results.
Do you know which line is the problem ? Is it where you display the body text or where you display search results ?
Dave
It is where I display the search results. So, in some of the results it will list say 10 results found and in say the Contact Us result, it will have that error contained in the result body.
It turns out the issue is with the macro partial and not the ezSearch. The Umbraco Forms partial got corrupted somehow when I updated the package. Sorry for taking up your time.
is working on a reply...