Neil de Carteret wrote:
The following patch against the trunk allows DBIC::Ordered to group
across more than one column, and updates the position column of all
affected rows when items move between groups. See pod comments for
details :D
It also includes a test file to cover the new bits and some changes to
the test schema to accommodate it (adding a new table).
If these changes to the test schema aren't welcome, let me know and
I'll try and work with what's already there. Oh yeah, and apologies
in advance if there's anything massively retarded in here, but it
tests okay.
Neil de Carteret
Check out the DBIx-Class-ordered_handle_updates branch in SVN, it does something
very similar. At the time there was a release pending and the author of Ordered
was not available. Maybe now is a good time to bring this up again?
Aran? MST?
Thanks!
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/