Topic: added_by filled by default
I've installed and customized labstore and am pretty happy with it. The plasmid module now calculates at what position in what box a plasmid sits, and only the owner of a record sees the edit and delete buttons.
What still bugs me is that the 'added_by' field isn't filled in automagically that same what that 'added_on' is. As the id of the current user is know, this should not be difficult. How do I do it short of running a script on my database that updates all recent entries with the correct 'added_by' value?
(Some more bla-blah: As there is only one correct value, I don't want users to have to pick a value and would prefer not to show this field in the first place. But I would like to have an entry for 'added_by' because I prefer seeing the full name in the details or the plasmids.php page instead of just the username.)
Thanks.
Andreas