Change get_saved_reports order to alphabetical?
In C4::Reports::Guided (Guided.pm), the subroutine get_saved_reports() is sorting the saved reports list by date created. Would there be any interest in changing this to alphabetical by report name instead? That seems to be more functional. Is there some background or reason for the date sort? Jane Wagner Library Systems Analyst PTFS Inc. Content Management and Library Solutions 6400 Goldsboro Road, Suite 200 Bethesda, MD 20817 (301) 654-8088 x 151 jwagner@ptfs.com
In C4::Reports::Guided (Guided.pm), the subroutine get_saved_reports() is sorting the saved reports list by date created. Would there be any interest in changing this to alphabetical by report name instead?
This might a be a candidate for a javascript-based table sorter. The only caveat there is you wouldn't want to use that if you had a really large table that would take too long to process. I don't know how likely that is--do people have hundreds of saved reports? You'd also want to add a column in the display for date so that you could resort by date if you wanted to. What do others think? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
That's more ambitious that I was planning, but probably a better approach. Worth looking into in my mythical free time.... Jane Wagner Library Systems Analyst PTFS Inc. Content Management and Library Solutions 6400 Goldsboro Road, Suite 200 Bethesda, MD 20817 (301) 654-8088 x 151 jwagner@ptfs.com -----Original Message----- From: Owen Leonard [mailto:oleonard@myacpl.org] Sent: Wednesday, March 11, 2009 1:18 PM To: Wagner, Jane Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] Change get_saved_reports order to alphabetical?
In C4::Reports::Guided (Guided.pm), the subroutine get_saved_reports() is sorting the saved reports list by date created. Would there be any interest in changing this to alphabetical by report name instead?
This might a be a candidate for a javascript-based table sorter. The only caveat there is you wouldn't want to use that if you had a really large table that would take too long to process. I don't know how likely that is--do people have hundreds of saved reports? You'd also want to add a column in the display for date so that you could resort by date if you wanted to. What do others think? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Owen, I have seen some libraries with a pretty extensive list. That said - I don't know if we want to default to alpha order because reports are usually created for a purpose and in batches. So - for example - a library is doing their end of year circ reports and now they're all lumped together because they were all done at the same time ... make sense? --- Nicole C. Engard Open Source Evangelist, LibLime (888) Koha ILS (564-2457) ext. 714 nce@liblime.com AIM/Y!/Skype: nengard http://liblime.com http://blogs.liblime.com/open-sesame/ On Wed, Mar 11, 2009 at 1:17 PM, Owen Leonard <oleonard@myacpl.org> wrote:
In C4::Reports::Guided (Guided.pm), the subroutine get_saved_reports() is sorting the saved reports list by date created. Would there be any interest in changing this to alphabetical by report name instead?
This might a be a candidate for a javascript-based table sorter. The only caveat there is you wouldn't want to use that if you had a really large table that would take too long to process. I don't know how likely that is--do people have hundreds of saved reports?
You'd also want to add a column in the display for date so that you could resort by date if you wanted to.
What do others think?
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
participants (3)
-
Nicole Engard -
Owen Leonard -
Wagner, Jane