whoo! have a ui much of the way there based on dijit.form.FilteringSelect
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 18 Jan 2012 23:18:20 +0000 (18:18 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 23 Jan 2012 17:26:58 +0000 (12:26 -0500)
commit1838678e4f4e5d5111031a9d20c4631fb1728751
treedaaa08deedde031955df73e44563da38df2914f3
parent30bd9ad5ae7431681636819dffbe9f3110f59aa8
whoo! have a ui much of the way there based on dijit.form.FilteringSelect

not done though:
    * still need elegant way to decode html entities, and should probably
        just have the apache module return JSON so we don't have to
    * need to get the widget to never try to validate
    * need to load all cmf objects so we can do class|field in the label
        instead of just id
    * when you click on an entry that's not going to be the first
        suggest result even when it is the exact search term you use,
        the dijit changes your selection to whatever is the first result.
        May need to override some dijit methods to overcome. Not sure yet.
    * possibly something still wrong when dealing with numerical ranges
    * more things I'm forgetting just now.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AutoSuggest.pm
Open-ILS/src/sql/Pg/upgrade/YYYY.schema.bib_autosuggest.sql
Open-ILS/web/dijittest.2.html [new file with mode: 0644]
Open-ILS/web/js/dojo/openils/AutoSuggestStore.js [new file with mode: 0644]
Open-ILS/web/js/dojo/openils/BibTemplate.js
Open-ILS/web/js/dojo/openils/Util.js