hello there,
I want to suggest some thing that i really needed
in my table (users) i have a field called (u_deleted) it help me to flag a user as a deleted user
so that i made a before_delete callback function that marked user as deleted and make a where not to show deleted marked items
the 1st suggestion is to make a button for making any flags
the 2nd one is to make a rule saying (is_unique[user.u_email]) & (not_flaged[user.u_deleted.1]) so that when adding a new user it ignores if he is already when he is marked deleted
thanks
something needed to be found in crud
Started by khashabawy, 22 May 2012 - 08:04 AM
- Single Page
Posted 22 May 2012 - 08:04 AM
Posted 22 May 2012 - 22:53 PM
Please make sure that if you have the callback_before_delete it WILL delete the row. Instead you have to use the callback_delete that I have an example at: http://www.grocerycrud.com/documentation/options_functions/callback_delete