feat: open to opportunities

This commit is contained in:
Jannat Patel
2025-12-16 20:27:00 +05:30
parent 94a3afdc9b
commit b3119f5295
11 changed files with 544 additions and 251 deletions

View File

@@ -250,10 +250,10 @@
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "interest",
"insert_after": "verify_terms",
"is_system_generated": 1,
"is_virtual": 0,
"label": "I am looking for a job",
"label": "Open to Opportunities",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
@@ -406,7 +406,7 @@
"dt": "User",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "medium",
"fieldname": "twitter",
"fieldtype": "Data",
"hidden": 0,
"hide_border": 0,
@@ -421,6 +421,62 @@
"insert_after": "github",
"is_system_generated": 1,
"is_virtual": 0,
"label": "Twitter ID",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2025-12-15 14:46:55.834145",
"module": null,
"name": "User-twitter",
"no_copy": 0,
"non_negative": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"show_dashboard": 0,
"sort_options": 0,
"translatable": 1,
"unique": 0,
"width": null
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "User",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "medium",
"fieldtype": "Data",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "twitter",
"is_system_generated": 1,
"is_virtual": 0,
"label": "Medium ID",
"length": 0,
"link_filters": null,

View File

@@ -286,7 +286,7 @@ def get_certified_participants(filters=None, start=0, page_length=100):
details = frappe.db.get_value(
"User",
participant.member,
["full_name", "user_image", "username", "country", "headline"],
["full_name", "user_image", "username", "country", "headline", "looking_for_job"],
as_dict=1,
)
details["certificate_count"] = count
@@ -1609,6 +1609,10 @@ def get_profile_details(username):
"headline",
"language",
"cover_image",
"looking_for_job",
"linkedin",
"github",
"twitter",
],
as_dict=True,
)