You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
could pass context inside model, but doubted if it would be better than to copy with_scope logic here.
could create ContentTypeProxyCollection, but no context inside (could set it though)
Don't know what solution is better, but at least it works. It's necessery feature for example if you need next/prev inside subcategories of entries.
Maybe it would be better to keep next/prev and other liquid logic outside models. To make the engine more modular.
The text was updated successfully, but these errors were encountered:
Some dirty code to fix it:
https://gist.github.com/ulitiy/b2757646ae6102faa130
could pass context inside model, but doubted if it would be better than to copy with_scope logic here.
could create ContentTypeProxyCollection, but no context inside (could set it though)
Don't know what solution is better, but at least it works. It's necessery feature for example if you need next/prev inside subcategories of entries.
Maybe it would be better to keep next/prev and other liquid logic outside models. To make the engine more modular.
The text was updated successfully, but these errors were encountered: