Skip to content

current page in embed page query the result are chaos #6528

Open

Description

@EINDEX

What happened?

<% current page %> in embed page query, is not work as expect.

It looks like is using parent page name.

Reproduce the Bug

Please import below end to reproduce this bug.

https://gist.githubusercontent.com/EINDEX/2621d69d956b35668e990d953728d697/raw/4988ca2d51fc9253fd7449520c66f2187a8bb36a/eindex_reproduce_current_page_embed_issue_.0.8.2.edn

Expected Behavior

The <% current page %> query param in embed page should be embed page name.

Screenshots

image

image

Desktop Platform Information

macOS 12.3.1
APP 0.8.2

Mobile Platform Information

No response

Additional Context

No response

Activity

  1. moved this to 🗄 Backlog in :Logseq/Issue-Trackeron Jan 1, 2023
  2. added
    :type/bug
    on Jan 12, 2023
  3. self-assigned this
    on Jan 12, 2023
  4. Bad3r commented on Jan 12, 2023

    @Bad3r
    Collaborator

    @bendyorke is this issue a duplicate of #4156?

  5. bendyorke commented on Jan 12, 2023

    @bendyorke
    Contributor

    @Bad3r likely so. They can probably be solved with a single fix, but they're exhibiting slightly different issues. Looking into it now

  6. bendyorke commented on Jan 12, 2023

    @bendyorke
    Contributor

    @Bad3r looks like it was indeed two issues. I've submitted #8330 that fixes both of them - only to see that #8263 also fixes one of the issues.

    This particular issue will be fixed by my PR, issues like #4156 will be fixed by #8263

  7. changed the title [-]current page in embed page query the result are mass.[/-] [+]current page in embed page query the result are chaos[/+] on Jan 19, 2023
  8. added
    :type/enhancement
    and removed
    :type/bug
    on Feb 6, 2023
  9. logseq-cldwalker commented on Feb 6, 2023

    @logseq-cldwalker
    Collaborator

    Marking this as enhancement as this would be solved by creating a "query page" equivalent to the input introduced in #8449

  10. cnrpman commented on May 14, 2023

    @cnrpman
    Collaborator

    Maybe some how related to #8357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

:type/enhancementquerytemplate

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions