Opened 17 years ago

Closed 17 years ago

#1000 closed defect (fixed)

SimpleExport count items twice

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: trivial Milestone: BASE 2.7
Component: web Version:
Keywords: Cc:

Description

The SimpleExport is the plug-in that is used for all table-like exports. Enabling query logging turns out that there are two SELECT COUNT(*) ... queries if the "all" option is selected for which items to export. In the other cases there is only one. This is by no means critical since the result of the query is probably still in the cache. It is just annoying.

I think the call to count() in the performExport can safely be removed. The result is never used. The other call to count() is in the exportProperties() method.

Change History (1)

comment:1 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: newclosed

(In [4242]) Fixes #1000: SimpleExport count items twice

Note: See TracTickets for help on using tickets.