Bug 12609 - Replace use of DBI in C4::Ratings with DBIx::Class
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jul 2014 14:42:03 +0000 (10:42 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 18 Sep 2014 01:08:48 +0000 (22:08 -0300)
commitbb78928bef7185ead7156acd1ffc3fb278db2985
tree2600e10d5dc440196d00262f64f420ee10e8970a
parent5d5481ed1900322eb67029478dd474290255c734
Bug 12609 - Replace use of DBI in C4::Ratings with DBIx::Class

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Ratings.t
3) Note all unit tests pass

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Also tested:
- Adding a rating
- Rating displayed on detail
- Rating displayed on results
- Modifying a rating
- Change displayed correctly on detail and results

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Ratings.pm