From: miker Date: Thu, 13 Nov 2008 22:08:29 +0000 (+0000) Subject: no need for distinct workaround now X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=096dedc9ac7529ff5adca45741274df3e3a4c5f2;p=Evergreen.git no need for distinct workaround now git-svn-id: svn://svn.open-ils.org/ILS/trunk@11176 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm index ec5518b2c7..bcefba86e9 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm @@ -360,8 +360,7 @@ sub new_books_by_item { }, order_by => { acp => { create_date => { transform => 'max', direction => 'desc' } } }, limit => $page_size, - offset => $offset, - distinct => 1 + offset => $offset } )->gather(1);