Mailing List Archive

[bricoleurs/bricolage] 173f80: Disable category and contributor pagination in doc...
Branch: refs/heads/rev_1_10
Home: http://github.com/bricoleurs/bricolage

Commit: 173f809567c4ad45b3a355bfcc0f60e80d87da9e
http://github.com/bricoleurs/bricolage/commit/173f809567c4ad45b3a355bfcc0f60e80d87da9e
Author: David E. Wheeler <david@justatheory.com>
Date: 2010-02-24 (Wed, 24 Feb 2010)

Changed paths:
M comp/widgets/listManager/listManager.mc
M comp/widgets/media_prof/edit_contributors.html
M comp/widgets/story_prof/edit_categories.html
M comp/widgets/story_prof/edit_contributors.html
M lib/Bric/App/Callback/Profile/Media.pm
M lib/Bric/Changes.pod

Log Message:
-----------
Disable category and contributor pagination in docs.

This commit fixes a few issues, discovered and fixed in reaction to Bug [#121 state:resolved]:

* When editing contributors associated with a story or media document, they are no longer paginated. When there were more contributors than would fit on a paginated page, the pagination didn't work and reording didn't work. So by disabling pagination in this case, we get around that issue. Documents with that many contributors are rare, so the trade-off seems worthwhile.

* The same turned out to be true for categories when they were displayed and the `ENABLE_CATEGORY_BROWSER` `bricolage.conf` directive was true. So pagination is now diabled there, too.

* While at it, the ordering of categories displayed as such was borked, so I fixed it so that they display in URI order, which is what had been expected in the first place.

* And finally, when associating contriutors with a media document, the user was prompted to select a role, even if there was only one. We now skip that step, as we had been doing with stories for a while now.