On 12 Nov 2006, at 18:41, Brian Kirkbride wrote:
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?
I don't even remember this branch existing, sorry :)
Can you get it synced from -current and co-ord with Neil on getting
the multi-col support nailed in, please?
Neil, drop me an htpasswd line on IRC if you want a commit bit.
--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for
details.
+ Help us build a better perl ORM: http://dbix-
class.shadowcatsystems.co.uk/ +
_______________________________________________
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]/