Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Alias Code fix

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      When editing Rules, there is a Move ICON. Would it be possible to have the "MOVE" ICON in the Alias edit screen?

      Just a suggestion.

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        The rule ordering matters for functional reasons, items within an alias don't, hence why one can re-order and the other can't. You can manually edit the XML to change the display order, that's the only option for the time being though.

        1 Reply Last reply Reply Quote 0
        • BBcan177B
          BBcan177 Moderator
          last edited by

          Thanks for the reply Chris.

          For me its not that I need it for a functional reason (ie order of rules etc).

          Its more to keep the alias lists organized. After changes, the Alias lists can get a bit scattered and it can make it harder to find mistakes.

          Thanks.

          "Experience is something you don't get until just after you need it."

          Website: http://pfBlockerNG.com
          Twitter: @BBcan177  #pfBlockerNG
          Reddit: https://www.reddit.com/r/pfBlockerNG/new/

          1 Reply Last reply Reply Quote 0
          • BBcan177B
            BBcan177 Moderator
            last edited by

            @cmb:

            The rule ordering matters for functional reasons, items within an alias don't, hence why one can re-order and the other can't. You can manually edit the XML to change the display order, that's the only option for the time being though.

            Hi Chris,

            For the Firewall Aliases tab, would a sortable table work?  The column headers would be clickable and sort in ascending or descending order when clicked.

            Adding a class identifier to the table definition?

            Thanks.

            "Experience is something you don't get until just after you need it."

            Website: http://pfBlockerNG.com
            Twitter: @BBcan177  #pfBlockerNG
            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              yeah using the same sort code as exists on other pages would be fine, you're welcome to submit a pull request to master/2.2 with that.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.