Nodes per page is ignored in the admin modr8 page. This patch fixes this issue.

Comments

marcingy’s picture

Status: Active » Needs review
pwolanin’s picture

Category: bug » feature
marcingy’s picture

Hmm as there is a setting on the admin page but that setting is ignored I would say that is an omisison and hence a bug, otherwise why is the option provided?

pwolanin’s picture

Category: feature » bug

oh, indeed - sorry.

Avatar’s picture

Is this about that the mod isn't working at all? I mean all posts get published immediately whichever setting is there in the module admin page!!

If so, I still have a problem since I don't understand anything about coding and I don't know what to do with these lines of code in the patch above. Can someone help?

pwolanin’s picture

StatusFileSize
new2.55 KB

@Avatar - whether or not nodes are published must be set for each node type. This module only adds the option to make them published upon approval if they were initially unpublished. Given that > 1000 sites are using the D6 module, I don't think it's fundamentally broken: http://drupal.org/project/usage/modr8

Actually I this patch touches code that's so stupid that I surely hope it's from before I took over the module. There is no reason to do 2x pager_queries. Attached patch cleans up a little more generally.

pwolanin’s picture

Version: 6.x-1.x-dev » 5.x-2.5
Status: Needs review » Patch (to be ported)

committed to to 6.x (HEAD) needs 5.x backport.

pwolanin’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new1.86 KB

Huh, apparently that bad code actually came in the D6 upgrade - here's some D5 cleanup.

pwolanin’s picture

Status: Needs review » Fixed

committed to D5 also

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.