evanmiller/boss_db — pull request #32 by LordIvan (2012-09-03 14:22:13+00:00)
Title: Fixed ge/le mnesia db adaptor find sort order: they were reversed.

Hey there - The boss_db mnesia adaptor had a very small bug - the 'le' and 'ge' tests for find are reversed - 'le' returns 'ge'; and 'ge' returns 'le'

eg: the following would return the wrong thing when using the mnesia db adaptor:

boss_db:find(record_type, [{sortfield, ge, 12345}])

This is the first time I've committed/issued a pull request something via git hub; so apologies if I've done something wrong...