Searching reports

Richard Kimberly Heck rikiheck at lyx.org
Sun Apr 19 16:22:37 UTC 2020


On 4/19/20 11:42 AM, racoon wrote:
> On 2020-04-19 17:22, Richard Kimberly Heck wrote:
>> On 4/19/20 6:47 AM, Daniel wrote:
>>> Seemingly reasonable searches in the general search field in trac
>>> fail. For example, I was searching for an author name, a word in the
>>> summary, and the component name: "racoon spacing mathed"
>>> (https://www.lyx.org/trac/search?q=racoon+spacing+mathed). However, it
>>> did not return a result even though the combination of these exists
>>> (https://www.lyx.org/trac/ticket/11845). Removing the component name,
>>> kind of solved the problem.
>>
>> If you want to search for a component name, you need to use an Custom
>> Query and add the component combo box. Same for author. That gives:
>>
>>
>> https://www.lyx.org/trac/query?summary=~spacing&component=mathed&reporter=~racoon
>>
>>
>> which returns #11845 and #11827. (The tilde means 'contains'.)
>>
>> By the way, since you have so many bug reports, you might want to set up
>> a custom page to track them, as I have here:
>>
>>      https://www.lyx.org/trac/wiki/HomeRikiHeck
>>
>> (Learned this trick from Vincent.) You just start by going to e.g.:
>>
>>      https://www.lyx.org/trac/wiki/HomeRacoon
>>
>> and then you can create and edit the page. Look at the code for mine, or
>>
>>      https://www.lyx.org/trac/wiki/BugTrackerHome
>>
>> to see how to do it.
>>
>> Riki
>
> Thanks. My example was a bit too simple. The problem with the custom
> query is that the summary is only searched for the exact sequence of
> words. That's why I started using the general search field. I don't
> think that it is worth doing much about it as long as one is aware of
> the limitations.

In any event, it's a trac issue, not one we can solve (unless there's a
plugin for it).   

Then again, our version of trac is very old. I wonder if some of this
has been fixed since then. Do we dare try upgrading?

Riki




More information about the lyx-devel mailing list