Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-2850

Lanes created through the admin interface are restricted to ebooks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.10cm
    • Web - CM Admin
    • None
    • SIMPLY S14 June 23 - July 7, SIMPLY S15 July 7 - July 21

      LanesController.lanes explicitly sets lane.media after creating a new lane:

      lane.media = [Edition.BOOK_MEDIUM]

      This value incorrectly restricts the lane so that only ebooks are considered members of the lane. I don't know if this actually affects a patron's ability to see audiobooks in the lane, but I think it does, and it definitely affects the counts of items in the lane.

      There's currently no reason for lane.media to ever be set, so the code can be removed.

            leonardrichardson Leonard Richardson [X] (Inactive)
            leonardrichardson Leonard Richardson [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: