so is it that during scaffolding by default it's recursive =0? I have not baked the controller functions of the app yet.
regards suman On Apr 10, 5:22 am, "BlenderStyle" <[EMAIL PROTECTED]> wrote: > The problem is likely to be the recursion of your find methods. > Referring to, If recursive = 0, you won't find any tickets. If > recursive = 1, you'll find the tickets, and nothing else. If recursive > = 2, you'll find tickets and others. > > On Apr 9, 1:23 pm, "sumanpaul" <[EMAIL PROTECTED]> wrote: > > > well first I am not sure if there is a solution. the problem is : > > > 1. I am creating a bug tracking app (weekend project , just for fun) > > 2. I have tables : projects, severities, statuses, tickets, types. > > 3. Projects have hasMany relation with Tickets > > 4. Tickets have belongsTo relation with severities, status, types, > > projects. > > > Now when I view project ... I get the list of tickets, no issues with > > that. > > But I get the severity_id, type_id, and status_id, project_id. I > > understand why I get this. > > > But I was just wondering if it's possible to show the severity name, > > status name, type name, project name(although not required as I know I > > am in which project page) instead of IDs in the project details page, > > for the tickets. > > > I haven't baked the Views yet, using scaffolding till now. > > > Thanks in advance > > > suman --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
