2013-11-20 12:59:58 +05:30
|
|
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 14:59:54 +05:30
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
2012-07-19 13:40:31 +05:30
|
|
|
from __future__ import unicode_literals
|
2014-02-14 15:47:51 +05:30
|
|
|
import frappe
|
2014-04-04 16:26:45 +05:30
|
|
|
from frappe.utils import cint
|
2012-02-29 15:11:06 +05:30
|
|
|
|
2014-02-14 15:47:51 +05:30
|
|
|
@frappe.whitelist()
|
2014-04-16 09:32:51 +05:30
|
|
|
def get_feed(limit_start, limit_page_length):
|
2014-04-04 16:26:45 +05:30
|
|
|
"""get feed"""
|
2014-04-16 09:32:51 +05:30
|
|
|
return frappe.get_list("Feed", fields=["name", "feed_type", "doc_type", "subject", "owner", "modified"],
|
|
|
|
limit_start = limit_start, limit_page_length = limit_page_length)
|