-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SS4.1: Gridfield sorting not working any more with text-target-lenght installed #16
Comments
Judging by the thread in that module the problem is not triggered only by the presence of this module so I don't think anything needs to be fixed here - but I'll leave it open for now. Can you please close if a fix is introduced elsewhere. |
@jonom sure, but I guess your module also does some JavaScript "magic" that is not compatible with either SS4 or SS4.1's backend and/or those modules. So - if we can find what is causing that error, it can also be fixed it in this module. |
If u will remove 2 lines at JonoM\SilverStripeTextTargetLengt\SilverStripeTextTargetLengt:
everything will work ok. The issue produced by overwriting core CMS libraries |
Interesting. So where are those libs loaded from in the CMS if not from there? Are they bundled in to a different js file? |
Fixed (hopefully) with #17 |
I ran into the same issue like symbiote/silverstripe-gridfieldextensions#246 today when I wasn't able to sort a gridfield and got a js error. Then I tried out the undefinedoffset sorting module, which threw another error, but works fine on a similar project (where text-target-length and some other modules are not required).
After disabling this extension, it started to work again.
Other gridfield related modules installed in this project:
HTH
The text was updated successfully, but these errors were encountered: