Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046420Retail ModulesWeb POSpublic2021-04-29 12:442022-02-01 08:07
dmiguelez 
Triage Platform Base 
highmajoralways
newopen 
5
 
 
No
0046420: Allow to define IndexedDB indexes based on dates
As of now it is possible to create an index based on a date, but is is managed internally as a String.

For example:
this.indices = [
      new OB.App.Class.Index({
        name: 'exceptionDate',
        properties: [{ property: 'exceptionDate' }]
      })
    ];

This stores internally a String, with a format that is depending on the database.

It should be possible to define an Index as a date and the system should manage internally the format to make sure that it is always homogeneous.
As of now it is possible to create an index based on a date, but is is managed internally as a String.

For example:
this.indices = [
      new OB.App.Class.Index({
        name: 'exceptionDate',
        properties: [{ property: 'exceptionDate' }]
      })
    ];

This stores internally a String, with a format that is depending on the database.

It should be possible to define an Index as a date and the system should manage internally the format to make sure that it is always homogeneous.
No tags attached.
Issue History
2021-04-29 12:44dmiguelezNew Issue
2021-04-29 12:44dmiguelezAssigned To => Retail
2021-04-29 12:44dmiguelezTriggers an Emergency Pack => No
2021-04-29 12:44dmiguelezAssigned ToRetail => platform
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.