I will take a look. If I recall from Friday's investigations, the XHR
request returns an empty list in the "autosuggest" result set. Also, the
MySQL query looks for "='Ellis'" if you have "Ellis" in the Author
field, "LIKE 'Elli%'" if you have "Elli%" in the Author field. I'm not
sure if that's what we want...


on 06/17/2011 09:52 PM Joe Blaylock wrote :
> On 06/17/2011 09:20 AM, Tibor Simko wrote:
>> On Thu, 16 Jun 2011, Joe Blaylock wrote:
>>> In recent versions, the autocomplete-by-hotkey infrastructure has
>>> rotted a bit I'm afraid, and I'm not sure if it *can* work.
>> I've had a quick look and the record editor auto-completion facility got
>> broken two months ago by either b57ee65 or 821ce77 which came as part
>> <http://invenio-software.org/ticket/111>.
>>
>> (76f8c51=good, 821ce77=untested, b57ee65=untested, dbbc8d6=bad)
>>
>> * dbbc8d6 Merge branch 'marko/kbs-with-placemark', Tibor Simko
>> |\  
>> | *  b57ee65 BibKnowledge: dynamic KBs for BibEdit use dynkb, Joe Blaylock
>> | *  821ce77 BibKnowledge: various dynamic kb updates, Marko Niinimaki
>> |/  
>> * 76f8c51 WebSearch: second order operators in SPIRES syntax, Valkyrie Savage
> Ok, that's good.  Thanks for narrowing it down Tibor.
>
> Since it's my fault it's broken, I'll take time to diagnose and figure
> out what I did, and try to repair the damage in BibEdit.  But I won't be
> able to get to it until at least next Wednesday.  In the meantime,
> Christopher, if you need to work on this the methods I mentioned in my
> last email are the right place to look.  The most likely source of the
> fault is that the return type of one of the bibknowledge.* calls changed
> (they were inconsistent with their documentation and database schemata,
> so I corrected them) and it probably just needs a couple of variable
> assignments swapped.  At least, if I recall correctly.
>
> Since this is in the Javascript, you can step through with debugger in
> Firebug to watch it work once on 76f8c51 and then again on dbbc8d6 and I
> would imagine the fault will jump right out at you.  Or wait a while and
> I'll get back to it when I can.
>
> I'm afraid I still can't give advice on the actual setup of the
> autocomplete feature in invenio-local.conf; I've never done it before.
>
> Joe
>
>

Reply via email to