Open cb2004 opened 8 years ago
That's how repeaters work, they prepare pages for later usage. Not to say I fully understand the reason and it's causing confusion every now and then, but it's always been that way.
I only noticed it with debug mode on so never knew this. All good if that is the way it is supposed to be, but with the new Ajax functionality I was wondering if it could only add the parent page when needed. Sure there are many other factors though, so I was just curious.
This is the intended behavior, but it may be possible for us to avoid the automatic parent. I've put a @todo in the file to take a closer look at this during the next repeater update.
If I have a repeater assigned to a template, every time I go into a page (with debug=true):
Created Repeater Page Parent: /ntadmin/repeaters/for-field-116/for-page-1049/
This is without adding any repeaters to that page. Unnecessary addition to the db?