references (and autocomplete) should use display forms
Bug #154497 reported by
Aaron Swartz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Fix Released
|
Medium
|
Anand Chitipothu |
Bug Description
Right now the authors field is a reference to an author object. It's displayed as a text field with values like "a/Oscar_Wilde". It autocompletes, which is nice, but this is still less than ideal. What one really wants is for the form to say "Oscar Wilde", autocomplete, and then set a hidden field with the "a/Oscar_Wilde" value.
Indeed, you probably want some more features on top of that (like giving some additional information about the author -- such as birth/death dates and # of books published, then displaying something more like a link instead of just a text field with the name) but this is a good start.
Changed in openlibrary: | |
assignee: | nobody → anandology |
importance: | Undecided → Medium |
milestone: | none → launch |
status: | New → Confirmed |
To post a comment you must log in.
> Right now the authors field is a reference to an author object. It's
> displayed as a text field with values like "a/Oscar_Wilde". It
> autocompletes, which is nice, but this is still less than ideal. What
> one really wants is for the form to say "Oscar Wilde",
> autocomplete, and
> then set a hidden field with the "a/Oscar_Wilde" value.
Probably it should use view.tmpl to display in the drop down.