noosfero | removing local acts_as_list dependency (!1550)

Gabriel Silva gitlab at mg.gitlab.com
Wed Jun 27 10:45:16 BRT 2018


Gabriel Silva started a new discussion:

I was able to reproduce some problemas:

### Lack of default position:

1. create and highlight a set of articles _before_ adding `acts_as_list` to the article. The created articles will have `position = 0`, since there is a `default: 0` on the column right now.

1. With the code in this branch (and the existing articles with `position = 0`), try to reorder some articles on the environment homepage.

1. The result will not be as expected.

### Position gaps in highlighted articles

1. Create a set of articles, "Post 1" to "Post 5"

1. Highlight only "Post 1", "Post 4", and "Post 5" (2 and 3 exist, but are not in the home page)

1. Go to the homepage and try to move "Post 4" down. It will not switch its position with "Post 1". This is a must, since not all articles will be highlighted.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1550#note_84544294
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180627/a837775b/attachment.html>


More information about the Noosfero-dev mailing list