Project

General

Profile

Actions

Feature #5805

open

TypeAHead SQL value instead of key stored

Added by Nicola Chiapolini over 4 years ago. Updated over 2 years ago.

Status:
Some day maybe
Priority:
Normal
Assignee:
-
Target version:
Start date:
10.04.2018
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:

Description

Ich habe ein Textfeld mit folgenden Parametern:


typeAheadSql = SELECT shortname AS 'id', CONCAT(firstname, ' ', lastname, ', ', shortname) AS 'value' FROM _right_to_confer_phd WHERE lastname LIKE ? OR firstname LIKE ? or shortname LIKE ? ORDER BY lastname
typeAheadSqlPrefetch = SELECT CONCAT(firstname, ' ', lastname, ', ', shortname) AS value FROM _right_to_confer_phd WHERE shortname=?
typeAheadMinLength = 1
typeAheadLimit = 20
typeAheadPedantic = 0

Die Suche funktioniert, aber beim Speichern wird der Value (firstname lastname, shortname) statt der id (shortname) gespeichert.
Problem scheint, dass JS im hidden Feld den Value statt der id einfügt...


Related issues

Related to QFQ - Bug #5444: typeahead: Nach einem Save wird der key angezeigt statt dem ValueClosed14.02.2018

Actions
Actions #1

Updated by Nicola Chiapolini over 4 years ago

Scheint typeAheadPedantic = 1 löst das Problem

Evtl. könnte das in der Dokumentation besser erklärt werden...

Actions #2

Updated by Nicola Chiapolini over 4 years ago

  • Status changed from New to Ready to sync (develop)
Actions #3

Updated by Carsten Rose over 4 years ago

  • Status changed from Ready to sync (develop) to In Progress
  • Target version set to 55

In Doku besser beschreiben

Actions #4

Updated by Carsten Rose over 4 years ago

  • Related to Bug #5444: typeahead: Nach einem Save wird der key angezeigt statt dem Value added
Actions #5

Updated by Carsten Rose almost 4 years ago

  • Tracker changed from Support to Feature
Actions #6

Updated by Carsten Rose almost 4 years ago

  • Status changed from In Progress to New
Actions #7

Updated by Carsten Rose almost 3 years ago

  • Status changed from New to Some day maybe
Actions #8

Updated by Carsten Rose over 2 years ago

  • Target version changed from 55 to next9
Actions

Also available in: Atom PDF