SveNord / Sve-Blazor-DataTable

MIT License
46 stars 14 forks source link

Exception using 'Contains' on text column #4

Open dustinsaunders opened 3 years ago

dustinsaunders commented 3 years ago

When using the filter function for a string the Contains filter option throws an exception breaking the connection.


   at Microsoft.EntityFrameworkCore.DbFunctionsExtensions.LikeCore(String matchExpression, String pattern, String escapeCharacter)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Sve.Blazor.DataTable.Components.DataTable`1.PerformClientSideDataManipulations()
   at Sve.Blazor.DataTable.Components.DataTable`1.ApplyFilters()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)```
SveNord commented 3 years ago

Hey, first of all sorry for the inactivity. Do you still have this problem and if so you can you give me some more information on how you are getting this issue?