Revize 6dd0e0cc
Přidáno uživatelem Ondřej Fibich před téměř 9 roky(ů)
application/controllers/members.php | ||
---|---|---|
->label('Login name')
|
||
->table('u')
|
||
->callback('json/user_login');
|
||
|
||
$filter_form->add('login')
|
||
->label('Added by (login)')
|
||
->table('ua')
|
||
->callback('json/user_login');
|
||
|
||
return $filter_form;
|
||
}
|
application/i18n/cs_CZ/texts.php | ||
---|---|---|
'add work' => 'Přidat práci',
|
||
'added' => 'Přidáno',
|
||
'added by' => 'Přidal',
|
||
'added by (login)' => 'Přidal (přihl. jméno)',
|
||
'additional contacts have been successfully updated' => 'Další kontakty úspěšně uloženy',
|
||
'additional demolition of membership fees' => 'Dodatečné stržení členských příspěvků',
|
||
'additional payment for member fees before membership' => 'Doplatek členských přispěvků v době kdy nebyl uživatel členem',
|
application/models/member.php | ||
---|---|---|
m.organization_identifier, m.vat_organization_identifier,
|
||
m.comment, m.entrance_date, m.leaving_date,
|
||
m.entrance_fee, m.speed_class_id, m.notification_by_redirection,
|
||
m.notification_by_email, m.notification_by_sms, applicant_connected_from
|
||
m.notification_by_email, m.notification_by_sms, applicant_connected_from,
|
||
m.user_id AS added_by_user_id
|
||
FROM members m
|
||
LEFT JOIN enum_types e ON m.type = e.id
|
||
LEFT JOIN translations t ON e.value = t.original_term AND lang = ?
|
||
... | ... | |
) mi ON mi.member_id = m.id
|
||
) AS m
|
||
LEFT JOIN users u ON u.member_id = m.id
|
||
LEFT JOIN users ua ON ua.id = m.added_by_user_id
|
||
LEFT JOIN address_points ap ON m.address_point_id = ap.id
|
||
LEFT JOIN streets s ON ap.street_id = s.id
|
||
LEFT JOIN towns t ON ap.town_id = t.id
|
||
... | ... | |
IF(mi.id IS NOT NULL, 1, 0) AS membership_interrupt,
|
||
m.organization_identifier, m.vat_organization_identifier,
|
||
m.comment, m.entrance_date, m.leaving_date,
|
||
m.entrance_fee, m.speed_class_id, m.applicant_connected_from
|
||
m.entrance_fee, m.speed_class_id, m.applicant_connected_from,
|
||
m.user_id AS added_by_user_id
|
||
FROM members m
|
||
LEFT JOIN enum_types e ON m.type = e.id
|
||
LEFT JOIN translations t ON e.value = t.original_term AND lang = ?
|
||
... | ... | |
) mi ON mi.member_id = m.id
|
||
) AS m
|
||
LEFT JOIN users u ON u.member_id = m.id
|
||
LEFT JOIN users ua ON ua.id = m.added_by_user_id
|
||
LEFT JOIN address_points ap ON m.address_point_id = ap.id
|
||
LEFT JOIN streets s ON ap.street_id = s.id
|
||
LEFT JOIN towns t ON ap.town_id = t.id
|
Také k dispozici: Unified diff
refs #1029: Filter for "added by" field in members table
Conflicts:
application/i18n/cs_CZ/texts.php
application/models/member.php