Closed xini closed 9 years ago
These failing tests look like they're a legitimate issue. Are you able to look into them and fix them?
interesting. makes sense. This is not a fix. but why is it working when installed? hm.. The basic problem is that the Documents method (https://github.com/silverstripe-labs/silverstripe-dms/blob/master/code/extensions/DMSSiteTreeExtension.php#L124) is not called from the template. the overloading in the extension doesn't work. any idea how to fix that?
I have changed the commit. I have tried different things but IMHO the only solution is to use a different method name for the frontend instead of overloading Documents() (which never gets called).
bump. thanks!
That was quick! ;) Thanks!
Yeah, I get that a lot... if you know what I mean... :(
fixes #44 for 1.0 branch. could possibly be merged into master as well. unfortunately I am unable to test this at the moment.