]> git.mjollnir.org Git - moodle.git/commitdiff
"DATA/MDL-18136, fix pagination in data mod, merged from 1.9"
authordongsheng <dongsheng>
Wed, 11 Mar 2009 04:22:40 +0000 (04:22 +0000)
committerdongsheng <dongsheng>
Wed, 11 Mar 2009 04:22:40 +0000 (04:22 +0000)
mod/data/view.php

index 41375e12dfa2a40b68dc820043ff8960ba849267..50f44e272a83e9a0ad9d72143d7796c49ba97fb6 100755 (executable)
                 $baseurl = 'view.php?d='.$data->id.'&amp;';
                 //send the advanced flag through the URL so it is remembered while paging.
                 $baseurl .= 'advanced='.$advanced.'&amp;';
+                $search && $baseurl .= 'filter=1&amp;';
                 //pass variable to allow determining whether or not we are paging through results.
                 $baseurl .= 'paging='.$paging.'&amp;';