Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1590

Add sub-item support to "AdminEditButton" tag

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B2
    • Component/s: CMS
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      Editing links to sub-items (e.g. images of category) built by "AdminEditButton" tag were incorrect.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      When building link in "AdminEditButton" tag and used prefix is sub-item of someone, then include these in built link:

      • parent item id (taken from foreign key field if current item, so no extra SQLs)
      • add parent item prefix to "pass" parameter

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m