Opened 5 years ago

Last modified 4 years ago

#13502 closed enhancement

number of tickets it auto-complete list — at Version 1

Reported by: clemens Owned by: Peter Suter
Priority: normal Component: WikiAutoCompletePlugin
Severity: minor Keywords:
Cc: Trac Release: 1.2

Description (last modified by clemens)

Hello

I have a question about the WikiAutoCompletePlugin, which I like very much.

It looks like the plugin limits the count of proposed tickets (which appear in the auto-complete pop-up) to a number of 10 tickets. What is the motivation for this arbitrary limitation? Are there speed concerns?

Note that other items like files do not have a limitation. If too many are found, then a scroll bar appears. Why not for tickets?

In the plugin source code (function _suggest_ticket in web_ui.py) I can see that the SQL ticket query is limited to 10. Are there any concerns to set this to a higher values like 100?

I would be willing to submit a patch (an open a ticket on trac-hacks) after successfully testing it.

Thanks Clemens

Change History (2)

comment:1 Changed 5 years ago by clemens

Description: modified (diff)

Changed 5 years ago by clemens

This patch will make the SQL query 100 instead 10 tickets.

Note: See TracTickets for help on using tickets.