Opened 11 years ago

Closed 10 years ago

#1664 closed defect (worksforme)

Wrong ticket number in custom query

Reported by: tlr@… Owned by: Noah Kantrowitz
Priority: normal Component: PrivateTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


The number of results isn't recalculated.

Attachments (1)

Picture 1.png (20.9 KB) - added by tlr@… 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by tlr@…

Attachment: Picture 1.png added

comment:1 Changed 11 years ago by Joachim Hoessler

The following patch fixes the problem for me:

---	(revision 2647)
+++	(working copy)
@@ -54,7 +54,10 @@
             # Reinsert the data
             req.hdf['query.results'] = new_results
+            # set proper result length
+            req.hdf['query.num_matches'] = len(new_results)
         return template, content_type
     # Content conversion insanity

comment:2 Changed 10 years ago by Noah Kantrowitz

Resolution: worksforme
Status: newclosed

No longer an issue.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.