Skip to content

Sort command mishandles decimal value input in limit parameter #119

@Abigael-JT

Description

@Abigael-JT

Describe the bug

When sort command is given a decimal limit parameter, it takes the first half (integer) as limit and treats the other 2nd half of the decimal as part of sort by clause

| sort limit=1.2 _raw

-> the first part of the decimal 1 is put under t_sort_limitParameter
-> and the rest .2 is treated as t_sort_sortByClauseInstruction together with _raw field

Expected behavior

It should atleast not treat some of it as a field.

How to reproduce

Use a decimal value for the limit parameter

Screenshots

Software version

pth_03 version: 9.4.1

Desktop (please complete the following information if relevant):

  • OS:
  • Browser:
  • Version:

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions