Skip to content

Conversation

@GeorgeFourkas
Copy link
Contributor

After a rework of the previous PR, and a fix on issue #529 a fix has been implemented, now supporting pivot morphable table and collections in the pivot table.

in order to use the pivot table users can now set the pivot model in the config file on the key 'intermediate_model', and its value should be the intermediate model class, i.e. MediaItem::class;

The previous got solved. We do not use get_class() anymore, so it cannot be called with integer arguements. Instead a comparisson of types is now used, where we compare the type of the intermediate model set in the config file, and the actual Media class that we fetch from the database.

@awcodes
Copy link
Owner

awcodes commented Sep 3, 2024

Thanks for the hard work. I will get this tested as soon as I can.

@awcodes
Copy link
Owner

awcodes commented Oct 18, 2024

Any update on this? ie, my review questions?

@GeorgeFourkas
Copy link
Contributor Author

What questions?

@awcodes
Copy link
Owner

awcodes commented Oct 18, 2024

@dgtvc
Copy link

dgtvc commented Feb 19, 2025

@awcodes I could be wrong here, but there is no review on this PR. At least I can't see your questions

'image_crop_aspect_ratio' => null,
'image_resize_mode' => null,
'image_resize_target_height' => null,
'image_resize_target_width' => null,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@awcodes
Copy link
Owner

awcodes commented Feb 19, 2025

Apparently I missed the finish review button. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants