Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with "fixed_top_menu" #588

Open
DSMejantel opened this issue Sep 13, 2024 · 2 comments
Open

Bug with "fixed_top_menu" #588

DSMejantel opened this issue Sep 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DSMejantel
Copy link

DSMejantel commented Sep 13, 2024

Introduction

When "fixed_top_menu":"TRUE" is actived, the page is not correctly done since sqlpage 0.27.

To Reproduce

--Menu
SELECT 'dynamic' AS component, 
CASE WHEN $group_id=1
THEN sqlpage.read_file_as_text('index.json')
ELSE sqlpage.read_file_as_text('menu.json')
            END    AS properties; 

select 
    'button' as component,
    'sm'     as size,
    --'pill'   as shape,
    'center' as justify;
select 
    'AESH' as title,
    'etab_aesh.sql?id=' || $id as link,

Actual behavior

Screenshots

probleme_menu

@DSMejantel DSMejantel added the bug Something isn't working label Sep 13, 2024
@lovasoa
Copy link
Collaborator

lovasoa commented Sep 13, 2024

Hello @DSMejantel and welcome back 😃 !
This should be fixed in v0.29 (not released yet). Can you test it ? It's available on docker under lovasoa/sqlpage:main. If you don't have docker, i'm joining a linux binary.

@lovasoa
Copy link
Collaborator

lovasoa commented Sep 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants