[Ovirt-devel] [PATCH server] Fix Vm.paged_with_perms
Scott Seago
sseago at redhat.com
Thu Jul 2 05:43:53 UTC 2009
Jason Guiditta wrote:
> This fixes the sorting for cloud view by uptime, so sort
> link should be ok to be enabled now.
>
> Signed-off-by: Jason Guiditta <jguiditt at redhat.com>
> ---
> src/app/models/vm.rb | 16 ++++++++++------
> src/test/unit/vm_test.rb | 6 ++++++
> 2 files changed, 16 insertions(+), 6 deletions(-)
>
>
Thanks for this -- I incorporated it into my patch rather than tested it
separately for a couple reasons:
1) Minor bugfix to the calc_uptime method -- used as a :select element
it was missing the * so _only_ uptime was returned, not everything plus
uptime
2) I wanted to use the same :select scheme for the flexigrid VM list.
Scott
More information about the ovirt-devel
mailing list