Commit Graph

6 Commits

Author SHA1 Message Date
Robbie Averill
9d5e028d10 FIX Ensure that redirection back to pages works for SS 3.6 2017-06-14 15:53:37 +12:00
Robbie Averill
d0c2558a1f FIX Get page ID from document set and include it in $NewLink for add document buttons
This helps the module to determine where to return a user to after they've uploaded a file, e.g. either back to a document set in a page context, back to a document set in the ModelAdmin context or back to the ModelAdmin for documents with no context.
2017-06-14 10:57:00 +12:00
Robbie Averill
772198a7fc FIX Backlink for upload form redirects to document admin if no page is available 2017-06-08 12:26:53 +12:00
Robbie Averill
4c3206e200 Add tests for the document autocompleter and conditions in getter for page and document set 2017-06-07 17:00:25 +12:00
Robbie Averill
8d2f707f48 FIX Ensure after uploading document you are redirected back to the document set 2017-05-18 11:51:32 +12:00
Robbie Averill
b80aa645f8 MINOR Add more tests for classes in the "cms" code folder 2017-05-09 13:04:29 +12:00