× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Intercept admin toolbar trash task

9 år 1 måned siden - 9 år 1 måned siden #1047 af Alexandre Cayer
Intercept admin toolbar trash task blev oprettet af Alexandre Cayer
Hi,

I have 2 tables in back-end: country and region.

Region as a foreigh key of country so they can be link. However, when I delete a country, it doesn't delete the region that has that country.

I have looked a bit in the code to see if there was a controller for that task as to intercept the delete task as to launch a sql comment to clear region which has that country id. 

However, I haven't seen any control. Can someone help me with this.

Thanks
Sidste redigering: 9 år 1 måned siden ved Alexandre Cayer.

Venligst Log på eller Opret en konto for at deltage i samtalen

Tid til at oprette siden: 0.048 sekunder
Leveret af Kunena Forum

Vi we benytter cookies, så vi bedst muligt kan levere vores services. For mere information, se vores