• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Sort bug

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Sort bug

    • Issue Tools
      • View Changes
    1. issueid=3545 January 26, 2014 10:14 PM
      dvsDave dvsDave is offline
      Regular Member
      Sort bug
      Bug when going from page one to page 2

      So, I went to an area in my wiki, went the list tab, went to the bottom of the page, sorted by Title, Ascending. The sort worked. Going from page 1 to page 2 just brought me back to the wiki index.

      http://www.controlbooth.com/wiki/?ti...tle&asc&page=2 (this url doesn't work)
    Issue Details
    Issue Number 3545
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Content Lists
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.0 Gamma 1
    Fixed Version 4.0.0 Gamma 2
    Milestone VaultWiki 4 Gamma X
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 27, 2014 1:39 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. In vault/core/view/nav/xf.php, find:
      Code:
      		if (!empty($limits['sort']))
      Add before:
      Code:
      $oQuery = $query;
      		$query = array();
      
      		foreach ($oQuery AS $arg)
      		{
      			$param = explode('=', $arg, 2);
      			$query[$param[0]] = (!empty($param[1])) ? $param[1] : '';
      		}
      In library/vw/XenForo/Route/Prefix/vw.php, find:
      Code:
      		if ($extraParams)
      		{
      			$query += $extraParams;
      			$extraParams = array();
      		}
      
      		if ($action)
      		{
      			$query[] = str_replace('page-', 'page=', $action);
      		}
      
      		if ($query)
      		{
      			$url = $data['url_js'] . implode('&', $query);
      		}
      Replace with:
      Code:
      		if ($action)
      		{
      			$query['page'] = str_replace('page-', '', $action);
      		}
      
      		if ($query)
      		{
      			$params = array_merge($extraParams, $query);
      			$queryString = XenForo_Link::buildQueryString($params);
      			$url = $data['url_js'] . $queryString;
      			$extraParams = array();
      		}
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:11 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.