Skip to content

.add dialog ignores categories when selecting a subsection - d_add_sqlite,scp #90

@mschmidtBP

Description

@mschmidtBP

When you use .add and show all items, if you select a subsection, the SQL statement searches for every item where subsection = selected subsection.

But when there are identical subsections, it will result in all of these items. It should just return all items that are = subsection AND category.

I could fix that easily in the search option with:

	LDB.query "SELECT rowid FROM <ctag.add_mode> WHERE subsection = '<local.sub>' AND category = '<local.cat>'"

// LDB.query "SELECT rowid FROM <ctag.add_mode> WHERE subsection = '<local.sub>'"

But I cant get it working in the base f_Add_generate_descriptions function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions