Opened 7 years ago

Closed 6 years ago

#1664 closed defect (worksforme)

Wrong ticket number in custom query

Reported by: tlr@… Owned by: coderanger
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@… 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by tlr@…

comment:1 Changed 7 years ago by 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 6 years ago by coderanger

  • Resolution set to worksforme
  • Status changed from new to closed

No longer an issue.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.