Menu

#505 (ok 3.3.2) Go to the upper level after table DROP

closed-accepted
Interface (183)
1
2010-04-14
2010-03-26
No

My solution to the problem stated here:
https://sourceforge.net/tracker/?func=detail&aid=2968299&group_id=23067&atid=377411

---

The problem is that whenever 'table' is set in $_REQUEST the link for the table is displayed in the 'serverinfo' div.

And the URL parameters are common for all the tabs - 'Browse', 'Structure', 'SQL', ..., 'Drop'.
I decided the neatest way to fix this is to add an option to define additional custom URL parameters for tabs and merge those with the general ones when compiling the URL for the link.

This involved the following changes
- libraries\common.lib.php // merge the URL parameters if necessary
- libraries\tbl_links.inc.php // set the 'table' parameter to NULL in the DROP TABLE link

Discussion

  • Kaarel Nummert

    Kaarel Nummert - 2010-03-26

    Feature request 2968299# ; Modified libraries\common.lib.php and libraries\tbl_links.inc.php

     
  • Marc Delisle

    Marc Delisle - 2010-03-26
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2010-03-26
    • priority: 5 --> 1
    • summary: Go to the upper level after table DROP --> (ok 3.3.2) Go to the upper level after table DROP
    • status: open --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2010-03-26

    Your patch was merged in the repository, thanks.

     
  • Marc Delisle

    Marc Delisle - 2010-03-26

    I forgot to mark you as the author in git, but you are mentionned in ChangeLog.

     
  • Marc Delisle

    Marc Delisle - 2010-04-14
    • status: open-accepted --> closed-accepted
     
MongoDB Logo MongoDB