Hi, In MySQL is possible to do something like:
select * from table_name order by field(department, 'Marketing', 'Sales', 'Financial', 'IT', 'Operations'); In other databases it should be done differently.... Is it possible to do this search with DBIC? --Octavian _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk