references (and autocomplete) should use display forms

Bug #154497 reported by Aaron Swartz
4
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.

Aaron Swartz (aaronsw)
Changed in openlibrary:
assignee: nobody → anandology
importance: Undecided → Medium
milestone: none → launch
status: New → Confirmed
Revision history for this message
Anand Chitipothu (anandology) wrote : Re: [Bug 154497] references (and autocomplete) should use display forms

> 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.

Revision history for this message
Aaron Swartz (aaronsw) wrote :

> Probably it should use view.tmpl to display in the drop down.

That's what I was thinking.

Revision history for this message
Anand Chitipothu (anandology) wrote :

we use freebase-select now.

Changed in openlibrary:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.