[Koha-bugs] [Bug 8508] Holds to Pull : Library dropdown options are erroneously concatenated by br tags

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 11 00:00:43 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8508

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |dcook at prosentient.com.au
                   |ity.org                     |

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 12122
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12122&action=edit
Bug 8508 - Holds to Pull : Library dropdown options are erroneously
concatenated by br tags

While the new function I made works perfectly well, there might be a more
efficient way of achieving the same outcome. I'm open to input, but it gets the
job done.

To Test Before Patching:

1) Create two items under the same bib record but with different home library
locations. 
2) Place a hold on the next available item (or two separate holds on the two
separate items)

*You'll notice the names of the two libraries in the field to the right of the
hold's title. There is one library on each line, because they're "separated" by
a linebreak <br> tag.

*If you look at the drop-down menu at the bottom of the column, you will notice
that the names of the two libraries have been concatenated together. If you
look at the source, you will notice that there is a <br> tag that "glues" them
together. 

3) Apply the patch

4) Refresh your page and now you will see that the drop-down menu has separated
those options, that there are no duplication of options, and that they have
been sorted in alphabetical order.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list